libcamera: pipeline: Rework class destructor
Remove comment and do not delete a class member, as it will be destroyed already with the instance that contains it. Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
This commit is contained in:
parent
3b480dbf63
commit
d67b2c6282
1 changed files with 0 additions and 7 deletions
|
@ -71,15 +71,8 @@ PipelineHandler::PipelineHandler(CameraManager *manager)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* \brief Delete the pipeline handler
|
|
||||||
*
|
|
||||||
* Release the cameraData_ map, causing all data there referenced to be
|
|
||||||
* deleted, as they are stored as unique_ptr<CameraData>
|
|
||||||
*/
|
|
||||||
PipelineHandler::~PipelineHandler()
|
PipelineHandler::~PipelineHandler()
|
||||||
{
|
{
|
||||||
cameraData_.clear();
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue