aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2023-11-04 21:47:08 +0100
committerJohannes Stoelp <johannes.stoelp@gmail.com>2023-11-04 21:47:08 +0100
commit0eb531749a805e1d83c856e6c59503af506f4d3c (patch)
tree416ed1f82360bfa2722bf5638cdceb86e7246bb0
parent923e50ff7683d664f0a350ed0ac592a90d9715f9 (diff)
downloadcpp-utils-0eb531749a805e1d83c856e6c59503af506f4d3c.tar.gz
cpp-utils-0eb531749a805e1d83c856e6c59503af506f4d3c.zip
option: add missing include gurads
-rw-r--r--option.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/option.h b/option.h
index 47a0624..a3ad60a 100644
--- a/option.h
+++ b/option.h
@@ -1,3 +1,6 @@
+#ifndef UTILS_OPTION_H
+#define UTILS_OPTION_H
+
#include <cassert>
#include <new> // placement new
#include <type_traits>
@@ -141,3 +144,5 @@ struct option {
bool m_has_value{false};
};
} // namespace option
+
+#endif