summaryrefslogtreecommitdiff
path: root/include/libcamera/base/timer.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libcamera/base/timer.h')
-rw-r--r--include/libcamera/base/timer.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/libcamera/base/timer.h b/include/libcamera/base/timer.h
index 44876a85..09f1d322 100644
--- a/include/libcamera/base/timer.h
+++ b/include/libcamera/base/timer.h
@@ -4,8 +4,8 @@
*
* timer.h - Generic timer
*/
-#ifndef __LIBCAMERA_BASE_TIMER_H__
-#define __LIBCAMERA_BASE_TIMER_H__
+
+#pragma once
#include <chrono>
#include <stdint.h>
@@ -47,5 +47,3 @@ private:
};
} /* namespace libcamera */
-
-#endif /* __LIBCAMERA_BASE_TIMER_H__ */