summaryrefslogtreecommitdiffstats
path: root/core/config
diff options
context:
space:
mode:
Diffstat (limited to 'core/config')
-rw-r--r--core/config/boolean.hh4
-rw-r--r--core/config/ivalue.hh4
-rw-r--r--core/config/number.hh4
-rw-r--r--core/config/string.hh4
4 files changed, 0 insertions, 16 deletions
diff --git a/core/config/boolean.hh b/core/config/boolean.hh
index 2e9855f..cfd8b0b 100644
--- a/core/config/boolean.hh
+++ b/core/config/boolean.hh
@@ -1,5 +1,3 @@
-#ifndef CORE_CONFIG_BOOLEAN_HH
-#define CORE_CONFIG_BOOLEAN_HH 1
#pragma once
#include "core/config/ivalue.hh"
@@ -25,5 +23,3 @@ public:
static bool from_string(std::string_view value);
};
} // namespace config
-
-#endif // CORE_CONFIG_BOOLEAN_HH
diff --git a/core/config/ivalue.hh b/core/config/ivalue.hh
index 97d87dc..13e9a3a 100644
--- a/core/config/ivalue.hh
+++ b/core/config/ivalue.hh
@@ -1,5 +1,3 @@
-#ifndef CORE_CONFIG_IVALUE_HH
-#define CORE_CONFIG_IVALUE_HH 1
#pragma once
namespace config
@@ -11,5 +9,3 @@ public:
virtual std::string_view get(void) const = 0;
};
} // namespace config
-
-#endif // CORE_CONFIG_IVALUE_HH
diff --git a/core/config/number.hh b/core/config/number.hh
index 3455910..45d4773 100644
--- a/core/config/number.hh
+++ b/core/config/number.hh
@@ -1,5 +1,3 @@
-#ifndef CORE_CONFIG_NUMBER_HH
-#define CORE_CONFIG_NUMBER_HH 1
#pragma once
#include "core/config/ivalue.hh"
@@ -130,5 +128,3 @@ inline void config::Number<T>::set_limits(T min_value, T max_value)
m_value = std::clamp(m_value, m_min_value, m_max_value);
m_string = std::to_string(m_value);
}
-
-#endif // CORE_CONFIG_NUMBER_HH
diff --git a/core/config/string.hh b/core/config/string.hh
index 772c330..8fd3901 100644
--- a/core/config/string.hh
+++ b/core/config/string.hh
@@ -1,5 +1,3 @@
-#ifndef CORE_CONFIG_STRING_HH
-#define CORE_CONFIG_STRING_HH 1
#pragma once
#include "core/config/ivalue.hh"
@@ -31,5 +29,3 @@ constexpr const char* config::String::c_str(void) const noexcept
{
return m_value.c_str();
}
-
-#endif // CORE_CONFIG_STRING_HH