diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2019-01-25 17:13:47 +0100 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2019-01-26 16:24:47 +0100 |
commit | d67b2c62825f86102c9b92cc303d5d98da607a26 (patch) | |
tree | 1d3ff3558657e194741a05d6de163cc1f5642cde | |
parent | 3b480dbf63201fa60fa0797835ae25e5832525f7 (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.cpp | 7 |
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(); }; /** |