summaryrefslogtreecommitdiff
path: root/LICENSES/GPL-2.0+.txt
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-02-22 12:21:26 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-02-22 13:17:22 +0200
commit1612841ff156023ff23ae5c8f4d68eeb09840a2a (patch)
tree27c6638f24be14f1e391842893f0fc4435c229e1 /LICENSES/GPL-2.0+.txt
parent13a7ed7b1f1fbeac2252fae9fd9b949b6ad048f2 (diff)
libcamera: raspberrypi: Drop std::move() where misleading
Usage of std::move() on a const lvalue will produce a const rvalue, which the compiler will bind to the const lvalue reference of the constructor or assignement operator. This results in the object being copied, not moved. Drop std::move() in that case as it's misleading. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Naushir Patuck <naush@raspberrypi.com>
Diffstat (limited to 'LICENSES/GPL-2.0+.txt')
0 files changed, 0 insertions, 0 deletions