aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2023-11-07 23:40:13 +0100
committerJohannes Stoelp <johannes.stoelp@gmail.com>2023-11-07 23:40:13 +0100
commitb1c6167e7909bc510b1ca1082ae2ceb8fb3c06c6 (patch)
tree523ff9a36282cebe60eaeccd68897453b929a156
parentf1c1cca92cb6a9c4a1f8ef4d66ddc9e0df8e3ed8 (diff)
downloadcpp-utils-b1c6167e7909bc510b1ca1082ae2ceb8fb3c06c6.tar.gz
cpp-utils-b1c6167e7909bc510b1ca1082ae2ceb8fb3c06c6.zip
timer: add missing include gurads
-rw-r--r--timer.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/timer.h b/timer.h
index 15e0497..307f0ac 100644
--- a/timer.h
+++ b/timer.h
@@ -1,3 +1,6 @@
+#ifndef UTILS_TIMER_H
+#define UTILS_TIMER_H
+
#include <cstdint>
#include <ctime>
@@ -62,3 +65,5 @@ struct scoped_timer {
};
} // namespace timer
+
+#endif