diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-10-11 00:39:54 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-10-13 20:37:21 +0300 |
commit | 4ebc7297e1994b05f0ac00a0ac0d91ef94bf00a8 (patch) | |
tree | 60a337b2e8089ae0e17a288cfd346d05811b00f1 /test/geometry.cpp | |
parent | f3c53dbf53b60defc61948cdfb64f79e6983e071 (diff) |
libcamera: pipeline: rkisp1: Avoid copy assignment of V4L2 control map
Use the std::map::emplace() method to avoid unnecessary creation of an
empty V4L2ControlInfoMap folled by a copy assignment.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Tested-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'test/geometry.cpp')
0 files changed, 0 insertions, 0 deletions