summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-12-16 00:28:33 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-12-16 14:26:45 +0200
commita7aab7da8a716299661b5f451366fb6e2f3d88b2 (patch)
tree1b8891bbfe8e9a1a69a0b99a1f729c73e708fa08 /test
parent8e15010b7dfa9c2a68dd57f924b5603784be0e09 (diff)
libcamera: yaml_parser: Improve efficiency of string empty check
Comparing a std::string to an empty string literal is more complex than using the std::string::empty() function. Improve the code efficiency by replacing the former with the latter. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions