From d5c9b726bd86c44eac17dfec461d02771c22e101 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Fri, 19 Jan 2024 19:33:11 +0200 Subject: libcamera: signal: Replace object.h inclusion with forward declatation The signal.h header doesn't need to include object.h. Replace it with a forward declaration, and instead include object.h in source files that require it. It can speed up compilation a little bit, but more importantly avoids unintended dependencies from the Signal class to the Object class to be added later as the compiler will catch them. Signed-off-by: Laurent Pinchart Reviewed-by: Milan Zamazal --- utils/ipc/generators/libcamera_templates/module_ipa_proxy.h.tmpl | 1 + 1 file changed, 1 insertion(+) (limited to 'utils') diff --git a/utils/ipc/generators/libcamera_templates/module_ipa_proxy.h.tmpl b/utils/ipc/generators/libcamera_templates/module_ipa_proxy.h.tmpl index ed270f5c..6e823598 100644 --- a/utils/ipc/generators/libcamera_templates/module_ipa_proxy.h.tmpl +++ b/utils/ipc/generators/libcamera_templates/module_ipa_proxy.h.tmpl @@ -18,6 +18,7 @@ #include #include +#include #include #include "libcamera/internal/control_serializer.h" -- cgit v1.2.1