diff options
author | Barnabás Pőcze <pobrn@protonmail.com> | 2024-12-19 19:14:02 +0100 |
---|---|---|
committer | Barnabás Pőcze <pobrn@protonmail.com> | 2025-02-27 17:31:04 +0100 |
commit | 1f02966f3f4ecb882217085cf10712fcaf17ed24 (patch) | |
tree | 6da671608954eee4a1259b83b39a1f19e1979e6a /src/apps/lc-compliance/helpers/capture.h | |
parent | d8645b5f67f97194f7b67392e7a24b04ba919bc2 (diff) |
apps: lc-compliance: Don't allocate `FrameBufferAllocator` dynamically
There is no reason to do so.
Signed-off-by: Barnabás Pőcze <pobrn@protonmail.com>
Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Diffstat (limited to 'src/apps/lc-compliance/helpers/capture.h')
-rw-r--r-- | src/apps/lc-compliance/helpers/capture.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/apps/lc-compliance/helpers/capture.h b/src/apps/lc-compliance/helpers/capture.h index 19b6927c..a4cc3a99 100644 --- a/src/apps/lc-compliance/helpers/capture.h +++ b/src/apps/lc-compliance/helpers/capture.h @@ -30,7 +30,7 @@ protected: EventLoop *loop_; std::shared_ptr<libcamera::Camera> camera_; - std::unique_ptr<libcamera::FrameBufferAllocator> allocator_; + libcamera::FrameBufferAllocator allocator_; std::unique_ptr<libcamera::CameraConfiguration> config_; std::vector<std::unique_ptr<libcamera::Request>> requests_; }; |