[PATCH v3 01/18] tests: Add a missing iostream include

Milan Zamazal mzamazal at redhat.com
Mon Sep 2 17:41:54 CEST 2024


generated_serializer_test.cpp uses iostream without including it,
relying on imports from another included header.  Let's include iostream
there.

Signed-off-by: Milan Zamazal <mzamazal at redhat.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
---
 .../generated_serializer/generated_serializer_test.cpp           | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/serialization/generated_serializer/generated_serializer_test.cpp b/test/serialization/generated_serializer/generated_serializer_test.cpp
index 4b11d67f..dd696885 100644
--- a/test/serialization/generated_serializer/generated_serializer_test.cpp
+++ b/test/serialization/generated_serializer/generated_serializer_test.cpp
@@ -6,6 +6,7 @@
  */
 
 #include <algorithm>
+#include <iostream>
 #include <tuple>
 #include <vector>
 
-- 
2.44.1



More information about the libcamera-devel mailing list