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:
committed by
Laurent Pinchart
parent
921c0cdc6a
commit
f517960c6a
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user