diff options
author | Barnabás Pőcze <pobrn@protonmail.com> | 2024-05-20 03:52:33 +0000 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2024-05-21 13:23:12 +0100 |
commit | 168bb3c97c5f338486251ae7752bccd4e61ffcc0 (patch) | |
tree | 6320da73dff5212a42f7f31be6fca9823463dff5 /src/apps/cam/drm.h | |
parent | e77a2751100e38eb294f2694d9b1d100449a2770 (diff) |
libcamera: yaml_parser: Avoid double lookup in `operator[]`
`YamlObject::contains()` does the same search, doing the lookup twice is
unnecessary.
Signed-off-by: Barnabás Pőcze <pobrn@protonmail.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Daniel Scally <dan.scally@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/apps/cam/drm.h')
0 files changed, 0 insertions, 0 deletions