libcamera: framebuffer_allocator: Use default destructor
The compiler generated destructor works fine, so use that. 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> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
committed by
Kieran Bingham
parent
443734023c
commit
ab5816a540
@@ -63,10 +63,7 @@ FrameBufferAllocator::FrameBufferAllocator(std::shared_ptr<Camera> camera)
|
||||
{
|
||||
}
|
||||
|
||||
FrameBufferAllocator::~FrameBufferAllocator()
|
||||
{
|
||||
buffers_.clear();
|
||||
}
|
||||
FrameBufferAllocator::~FrameBufferAllocator() = default;
|
||||
|
||||
/**
|
||||
* \brief Allocate buffers for a configured stream
|
||||
|
||||
Reference in New Issue
Block a user