From d67b2c62825f86102c9b92cc303d5d98da607a26 Mon Sep 17 00:00:00 2001 From: Jacopo Mondi Date: Fri, 25 Jan 2019 17:13:47 +0100 Subject: libcamera: pipeline: Rework class destructor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Laurent Pinchart Signed-off-by: Jacopo Mondi --- src/libcamera/pipeline_handler.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/libcamera/pipeline_handler.cpp') 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 - */ PipelineHandler::~PipelineHandler() { - cameraData_.clear(); }; /** -- cgit v1.2.1