summaryrefslogtreecommitdiff
path: root/src/apps
diff options
context:
space:
mode:
authorBarnabás Pőcze <pobrn@protonmail.com>2025-02-03 10:43:24 +0000
committerBarnabás Pőcze <pobrn@protonmail.com>2025-02-04 18:32:23 +0100
commit9c29274382a876a80e92edb8f18b32752f1b844d (patch)
tree73f65c101c62fd9ba3974f2f04c9f9f6a295e0ff /src/apps
parent9a7fce1b5146b38eb994cf5d14607f470169b933 (diff)
libcamera: pipeline: virtual: Simplify error return
Just return an `std::unique_ptr` constructed from an empty initializer instead of doing a `reset()` on the existing `config` variable and returning that. This is simpler. 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>
Diffstat (limited to 'src/apps')
0 files changed, 0 insertions, 0 deletions