mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-13 15:29:45 +03:00
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:
parent
443734023c
commit
ab5816a540
1 changed files with 1 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue