mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-15 08:25:07 +03:00
FrameBufferAllocator: fix non-copyability
FrameBufferAllocator is supposed to delete copy constructor and copy-assignment operator. It doesn't do that as it uses Camera as a parameter instead of FrameBufferAllocator. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@iki.fi> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
parent
921c0cdc6a
commit
f517960c6a
1 changed files with 2 additions and 2 deletions
|
@ -21,8 +21,8 @@ class FrameBufferAllocator
|
|||
{
|
||||
public:
|
||||
FrameBufferAllocator(std::shared_ptr<Camera> camera);
|
||||
FrameBufferAllocator(const Camera &) = delete;
|
||||
FrameBufferAllocator &operator=(const Camera &) = delete;
|
||||
FrameBufferAllocator(const FrameBufferAllocator &) = delete;
|
||||
FrameBufferAllocator &operator=(const FrameBufferAllocator &) = delete;
|
||||
|
||||
~FrameBufferAllocator();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue