diff options
author | Barnabás Pőcze <barnabas.pocze@ideasonboard.com> | 2025-03-21 10:28:41 +0100 |
---|---|---|
committer | Barnabás Pőcze <barnabas.pocze@ideasonboard.com> | 2025-04-22 14:49:10 +0200 |
commit | f31da7272eb0d8dfcd551057b24b5ca4f6985713 (patch) | |
tree | dff0ec5685f68435befccbfc2570d4c9e574c3f0 /utils/codegen | |
parent | 86c45c8fdf36b6983ad0d585184218f541bb4fd5 (diff) |
libcamera: ipa_module: Avoid unnecessary copy when getting signature
The `signature()` getter can just return a reference to the private vector
member variable, and let the caller make a copy if needed. Since the
return type is const qualified, this was likely the original intention.
Signed-off-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Diffstat (limited to 'utils/codegen')
0 files changed, 0 insertions, 0 deletions