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:
Jacopo Mondi 2019-01-25 17:13:47 +01:00
parent 3b480dbf63
commit d67b2c6282

View file

@ -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()
{
cameraData_.clear();
};
/**