summaryrefslogtreecommitdiff
path: root/test/timer.cpp
diff options
context:
space:
mode:
authorBarnabás Pőcze <barnabas.pocze@ideasonboard.com>2024-12-06 18:46:46 +0100
committerBarnabás Pőcze <barnabas.pocze@ideasonboard.com>2025-04-15 12:11:40 +0200
commit5553efc6b13fb0dbf83fc1cbc1f46f4d19b6680a (patch)
tree09ab98ec60481af01c400535bcaea8cbab76d1d1 /test/timer.cpp
parent7fd317adf0d29d4c37409108877e0ac68ea4b3d4 (diff)
libcamera: request: Avoid double map lookup
Use `try_emplace()` that more or less combines `find()` and `operator[]` in one function. Signed-off-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'test/timer.cpp')
0 files changed, 0 insertions, 0 deletions