summaryrefslogtreecommitdiff
path: root/include/libcamera/base/event_notifier.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libcamera/base/event_notifier.h')
-rw-r--r--include/libcamera/base/event_notifier.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/libcamera/base/event_notifier.h b/include/libcamera/base/event_notifier.h
index f7722a32..e5c0594d 100644
--- a/include/libcamera/base/event_notifier.h
+++ b/include/libcamera/base/event_notifier.h
@@ -4,8 +4,8 @@
*
* event_notifier.h - File descriptor event notifier
*/
-#ifndef __LIBCAMERA_BASE_EVENT_NOTIFIER_H__
-#define __LIBCAMERA_BASE_EVENT_NOTIFIER_H__
+
+#pragma once
#include <libcamera/base/private.h>
@@ -46,5 +46,3 @@ private:
};
} /* namespace libcamera */
-
-#endif /* __LIBCAMERA_BASE_EVENT_NOTIFIER_H__ */