summaryrefslogtreecommitdiff
path: root/include/libcamera/base/semaphore.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libcamera/base/semaphore.h')
-rw-r--r--include/libcamera/base/semaphore.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/libcamera/base/semaphore.h b/include/libcamera/base/semaphore.h
index d8146eb8..ae87d319 100644
--- a/include/libcamera/base/semaphore.h
+++ b/include/libcamera/base/semaphore.h
@@ -4,8 +4,8 @@
*
* semaphore.h - General-purpose counting semaphore
*/
-#ifndef __LIBCAMERA_BASE_SEMAPHORE_H__
-#define __LIBCAMERA_BASE_SEMAPHORE_H__
+
+#pragma once
#include <condition_variable>
@@ -31,5 +31,3 @@ private:
};
} /* namespace libcamera */
-
-#endif /* __LIBCAMERA_BASE_SEMAPHORE_H__ */