[libcamera-devel] [PATCH 1/5] libcamera: geometry: Add missing ostream header in geometry.h
Kieran Bingham
kieran.bingham at ideasonboard.com
Wed May 4 10:54:46 CEST 2022
Quoting Laurent Pinchart via libcamera-devel (2022-04-29 22:23:44)
> Commit c730dc74795d ("libcamera: geometry: Add operator<< for classes in
> geometry") added usage of std::ostream in geometry.h but forget to
> include the corresponding header. Fix it to avoid future compilation
> breakages if indirect inclusions are changed.
>
> Fixes: c730dc74795d ("libcamera: geometry: Add operator<< for classes in geometry")
Reviewed-by: Kieran Bingham <kieran.bingham at ideasonboard.com>
> Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
> ---
> include/libcamera/geometry.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/include/libcamera/geometry.h b/include/libcamera/geometry.h
> index d4a144bcd42a..d7fdbe708e6d 100644
> --- a/include/libcamera/geometry.h
> +++ b/include/libcamera/geometry.h
> @@ -8,6 +8,7 @@
> #pragma once
>
> #include <algorithm>
> +#include <ostream>
> #include <string>
>
> #include <libcamera/base/compiler.h>
> --
> Regards,
>
> Laurent Pinchart
>
More information about the libcamera-devel
mailing list