[libcamera-devel] [PATCH 3/9] libcamera: flags: Add friend class IPADataSerializer
Paul Elder
paul.elder at ideasonboard.com
Wed Aug 3 13:21:44 CEST 2022
To prepare for the ability to send Flags over IPC, add IPADataSerializer
as a friend class to Flags.
Signed-off-by: Paul Elder <paul.elder at ideasonboard.com>
---
include/libcamera/base/flags.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/include/libcamera/base/flags.h b/include/libcamera/base/flags.h
index a1b404bd..43afdf26 100644
--- a/include/libcamera/base/flags.h
+++ b/include/libcamera/base/flags.h
@@ -137,6 +137,9 @@ public:
}
private:
+ template<typename>
+ friend class IPADataSerializer;
+
Type value_;
};
--
2.30.2
More information about the libcamera-devel
mailing list