summaryrefslogtreecommitdiff
path: root/include/libcamera/base/signal.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libcamera/base/signal.h')
-rw-r--r--include/libcamera/base/signal.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/libcamera/base/signal.h b/include/libcamera/base/signal.h
index 8d9f82f6..91000d0d 100644
--- a/include/libcamera/base/signal.h
+++ b/include/libcamera/base/signal.h
@@ -4,8 +4,8 @@
*
* signal.h - Signal & slot implementation
*/
-#ifndef __LIBCAMERA_BASE_SIGNAL_H__
-#define __LIBCAMERA_BASE_SIGNAL_H__
+
+#pragma once
#include <functional>
#include <list>
@@ -147,5 +147,3 @@ public:
};
} /* namespace libcamera */
-
-#endif /* __LIBCAMERA_BASE_SIGNAL_H__ */