summaryrefslogtreecommitdiff
path: root/src/py
diff options
context:
space:
mode:
authorChristian Rauch via libcamera-devel <libcamera-devel@lists.libcamera.org>2022-08-16 20:38:25 +0200
committerJacopo Mondi <jacopo@jmondi.org>2022-08-25 14:03:22 +0200
commit45c198da638d603c1a0cac216633933abfbb4153 (patch)
treec58da0834d7e772961dd9e116f93b05ccebc8d86 /src/py
parent868ab2287da2def1cc6414c27d9e26fd1547f353 (diff)
libcamera: Use const reference for range loops
Use a const reference in range-based for loops to avoid copies of the loop elements. While at it, change looping over controls in PipelineHandlerUVC::processControls to use structured bindings. Signed-off-by: Christian Rauch <Rauch.Christian@gmx.de> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'src/py')
0 files changed, 0 insertions, 0 deletions