summaryrefslogtreecommitdiff
path: root/src/ipa
diff options
context:
space:
mode:
authorBarnabás Pőcze <barnabas.pocze@ideasonboard.com>2025-03-19 16:36:36 +0100
committerBarnabás Pőcze <barnabas.pocze@ideasonboard.com>2025-04-01 12:58:45 +0200
commit7dd548f678bfcac435ae0f790c33f99b6fb2c5c4 (patch)
tree449325881d1a88483506693d5afd493d7f22bf20 /src/ipa
parent37283b68eacbcb0a234c1bd21eedaa22323240b8 (diff)
libcamera: base: object: Forward arguments when invoking
Use `std::forward()` to forward the received arguments to enable the potential use of move constructors instead of copy constructors. Commit 0eacde623bb0 ("libcamera: object: Avoid argument copies in invokeMethod()") added the forwarding references to `invokeMethod()` but it did not add the appropriate `std::forward()` calls, so copying could still take place even if not necessary. Signed-off-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/ipa')
0 files changed, 0 insertions, 0 deletions