libcamera/include
Naushir Patuck 8b02645845 libcamera: controls: Suppress error message from ControlList::get()
Now that ControlList::get() returns a std::optional<T> to handle missing
controls, the error log message in the call to ControlList::find() is
unnecessary and likely invalid.

Fix this by avoiding the call to ControlList::find() from
ControlList::get() and replacing with a call to the underlying
std::unordered_map::find().

Fixes: 1c4d480185 ("libcamera: controls: Use std::optional to handle invalid control values")
Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2022-07-20 13:25:06 +03:00
..
android android: Update Android headers 2021-05-31 19:26:59 +03:00
libcamera libcamera: controls: Suppress error message from ControlList::get() 2022-07-20 13:25:06 +03:00
linux include: linux: Add MEDIA_LNK_FL_ANCILLARY_LINK 2022-03-15 17:20:59 +00:00
meson.build libcamera: Fix base and ipa include dir 2021-09-28 20:09:39 +03:00