summaryrefslogtreecommitdiff
path: root/include/libcamera/internal/pipeline_handler.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libcamera/internal/pipeline_handler.h')
-rw-r--r--include/libcamera/internal/pipeline_handler.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/libcamera/internal/pipeline_handler.h b/include/libcamera/internal/pipeline_handler.h
index 41cba44d..3de27ae9 100644
--- a/include/libcamera/internal/pipeline_handler.h
+++ b/include/libcamera/internal/pipeline_handler.h
@@ -4,8 +4,8 @@
*
* pipeline_handler.h - Pipeline handler infrastructure
*/
-#ifndef __LIBCAMERA_INTERNAL_PIPELINE_HANDLER_H__
-#define __LIBCAMERA_INTERNAL_PIPELINE_HANDLER_H__
+
+#pragma once
#include <memory>
#include <set>
@@ -118,5 +118,3 @@ private: \
static handler##Factory global_##handler##Factory;
} /* namespace libcamera */
-
-#endif /* __LIBCAMERA_INTERNAL_PIPELINE_HANDLER_H__ */