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

Naushir Patuck naush at raspberrypi.com
Wed Jul 14 15:14:28 CEST 2021


Hi Jean-Michel,

Thank you for your patch.

On Wed, 14 Jul 2021 at 14:02, Jean-Michel Hautbois <
jeanmichel.hautbois at ideasonboard.com> wrote:

> 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>
>

Reviewed-by: Naushir Patuck <naush at raspberrypi.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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.libcamera.org/pipermail/libcamera-devel/attachments/20210714/372ae855/attachment.htm>


More information about the libcamera-devel mailing list