[libcamera-devel] [PATCH 3/5] libcamera: pipeline: Rework class destructor
Jacopo Mondi
jacopo at jmondi.org
Fri Jan 25 18:03:58 CET 2019
Remove comment and do not delete a class member, as it will be destroyed
already with the instance that contains it.
Signed-off-by: Jacopo Mondi <jacopo at jmondi.org>
---
src/libcamera/pipeline_handler.cpp | 7 -------
1 file changed, 7 deletions(-)
diff --git a/src/libcamera/pipeline_handler.cpp b/src/libcamera/pipeline_handler.cpp
index cca5576..e75bf0f 100644
--- a/src/libcamera/pipeline_handler.cpp
+++ b/src/libcamera/pipeline_handler.cpp
@@ -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();
};
/**
--
2.20.1
More information about the libcamera-devel
mailing list