summaryrefslogtreecommitdiff
path: root/src/android/camera3_hal.cpp
diff options
context:
space:
mode:
authorBarnabás Pőcze <pobrn@protonmail.com>2025-01-21 18:47:49 +0100
committerBarnabás Pőcze <pobrn@protonmail.com>2025-02-27 11:30:23 +0100
commit24c2caa1c1b39d0bb17dfaca0aedf9b8e91b5e26 (patch)
treea426f5f59c2670e03c8ee9b040226f07c17ef7f0 /src/android/camera3_hal.cpp
parent16bcc5a3e47e445879fa515b795da8165e76fd99 (diff)
libcamera: base: log: Use `std::string_view` to avoid some copies
Use `std::string_view` to avoid some largely unnecessary copies, and to make string comparisong potentially faster by eliminating repeated `strlen()` calls. Signed-off-by: Barnabás Pőcze <pobrn@protonmail.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Diffstat (limited to 'src/android/camera3_hal.cpp')
0 files changed, 0 insertions, 0 deletions