summaryrefslogtreecommitdiff
path: root/utils/ipc/generators/libcamera_templates/core_ipa_serializer.h.tmpl
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham@ideasonboard.com>2021-11-23 17:23:07 +0000
committerKieran Bingham <kieran.bingham@ideasonboard.com>2021-11-24 12:19:03 +0000
commit7e125787add066625bb2a3f8eed8234bc4f8cc11 (patch)
treeb2d6b45cde44f7eeb7b953c3012ae4451e23e999 /utils/ipc/generators/libcamera_templates/core_ipa_serializer.h.tmpl
parent269859799481acec13e35bb6fb97458756e4991a (diff)
utils: Convert to pragma once
Remove the verbose #ifndef/#define/#endif pattern for maintaining header idempotency, and replace it with a simple #pragma once. This simplifies the headers, and prevents redundant changes when header files get moved. Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>
Diffstat (limited to 'utils/ipc/generators/libcamera_templates/core_ipa_serializer.h.tmpl')
-rw-r--r--utils/ipc/generators/libcamera_templates/core_ipa_serializer.h.tmpl5
1 files changed, 1 insertions, 4 deletions
diff --git a/utils/ipc/generators/libcamera_templates/core_ipa_serializer.h.tmpl b/utils/ipc/generators/libcamera_templates/core_ipa_serializer.h.tmpl
index 37a784f1..5738a1aa 100644
--- a/utils/ipc/generators/libcamera_templates/core_ipa_serializer.h.tmpl
+++ b/utils/ipc/generators/libcamera_templates/core_ipa_serializer.h.tmpl
@@ -13,8 +13,7 @@
* This file is auto-generated. Do not edit.
*/
-#ifndef __LIBCAMERA_INTERNAL_IPA_DATA_SERIALIZER_CORE_H__
-#define __LIBCAMERA_INTERNAL_IPA_DATA_SERIALIZER_CORE_H__
+#pragma once
#include <tuple>
#include <vector>
@@ -43,5 +42,3 @@ public:
{% endfor %}
} /* namespace libcamera */
-
-#endif /* __LIBCAMERA_INTERNAL_IPA_DATA_SERIALIZER_CORE_H__ */