From cbd823aa2154a956e7da4319eecbf7afc10441ae Mon Sep 17 00:00:00 2001 From: untodesu Date: Thu, 11 Sep 2025 15:47:37 +0500 Subject: Remove include guards --- core/config/boolean.hh | 4 ---- core/config/ivalue.hh | 4 ---- core/config/number.hh | 4 ---- core/config/string.hh | 4 ---- 4 files changed, 16 deletions(-) (limited to 'core/config') 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::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 -- cgit