diff options
| author | untodesu <kirill@untode.su> | 2025-09-11 15:47:37 +0500 |
|---|---|---|
| committer | untodesu <kirill@untode.su> | 2025-09-11 15:47:37 +0500 |
| commit | cbd823aa2154a956e7da4319eecbf7afc10441ae (patch) | |
| tree | e8166604b86f68fa6bdcf5f16dba88f1672f92b2 /core/config | |
| parent | b8bbc54c5c920aff1ff1b45a693f50d6d96d61c8 (diff) | |
| download | voxelius-cbd823aa2154a956e7da4319eecbf7afc10441ae.tar.bz2 voxelius-cbd823aa2154a956e7da4319eecbf7afc10441ae.zip | |
Remove include guards
Diffstat (limited to 'core/config')
| -rw-r--r-- | core/config/boolean.hh | 4 | ||||
| -rw-r--r-- | core/config/ivalue.hh | 4 | ||||
| -rw-r--r-- | core/config/number.hh | 4 | ||||
| -rw-r--r-- | core/config/string.hh | 4 |
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 |
