[libcamera-devel] [PATCH v2] ipa: raspberrypi: Remove unused MetadataPtr

Jean-Michel Hautbois jeanmichel.hautbois at ideasonboard.com
Wed Jul 14 15:02:32 CEST 2021


The Metadata class defines a shared_ptr named MetadataPtr.  It is not
used anywhere in the source code, so remove it.

Signed-off-by: Jean-Michel Hautbois <jeanmichel.hautbois at ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
---
 src/ipa/raspberrypi/controller/metadata.hpp | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/ipa/raspberrypi/controller/metadata.hpp b/src/ipa/raspberrypi/controller/metadata.hpp
index fd6aac88..51e576cf 100644
--- a/src/ipa/raspberrypi/controller/metadata.hpp
+++ b/src/ipa/raspberrypi/controller/metadata.hpp
@@ -10,7 +10,6 @@
 
 #include <any>
 #include <map>
-#include <memory>
 #include <mutex>
 #include <string>
 
@@ -108,6 +107,4 @@ private:
 	std::map<std::string, std::any> data_;
 };
 
-typedef std::shared_ptr<Metadata> MetadataPtr;
-
 } // namespace RPiController
-- 
2.30.2



More information about the libcamera-devel mailing list