diff options
author | Barnabás Pőcze <pobrn@protonmail.com> | 2024-03-10 14:30:33 +0000 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2024-03-12 10:09:56 +0000 |
commit | 443734023c1c953a3e4d0f3404b0d054f2449d99 (patch) | |
tree | d86b495e44a43db0f382dfe4c00549ec33d0a64a /test/flags.cpp | |
parent | 01935edbba586df820db002671da7bd0a348ad8e (diff) |
libcamera: framebuffer_allocator: Move from argument in constructor
The single argument, of type `std::shared_ptr<Camera>`,
is passed by value, so it can simply be moved from in order to
avoid calling the copy constructor.
Signed-off-by: Barnabás Pőcze <pobrn@protonmail.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'test/flags.cpp')
0 files changed, 0 insertions, 0 deletions