summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo@jmondi.org>2019-01-25 17:13:47 +0100
committerJacopo Mondi <jacopo@jmondi.org>2019-01-26 16:24:47 +0100
commitd67b2c62825f86102c9b92cc303d5d98da607a26 (patch)
tree1d3ff3558657e194741a05d6de163cc1f5642cde
parent3b480dbf63201fa60fa0797835ae25e5832525f7 (diff)
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>
-rw-r--r--src/libcamera/pipeline_handler.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/libcamera/pipeline_handler.cpp b/src/libcamera/pipeline_handler.cpp
index cca55762..e75bf0f1 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();
};
/**