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/io/buffer.hh | 5 ----- core/io/cmdline.hh | 4 ---- core/io/config_map.hh | 4 ---- 3 files changed, 13 deletions(-) (limited to 'core/io') diff --git a/core/io/buffer.hh b/core/io/buffer.hh index c301204..96a37b1 100644 --- a/core/io/buffer.hh +++ b/core/io/buffer.hh @@ -1,6 +1,3 @@ -#ifndef CORE_IO_BUFFER_HH -#define CORE_IO_BUFFER_HH 1 - namespace io { class ReadBuffer final { @@ -89,5 +86,3 @@ io::WriteBuffer& io::WriteBuffer::operator<<(const T value) write(value); return *this; } - -#endif // CORE_BUFFER_HH diff --git a/core/io/cmdline.hh b/core/io/cmdline.hh index 8b2b4ee..e90433c 100644 --- a/core/io/cmdline.hh +++ b/core/io/cmdline.hh @@ -1,5 +1,3 @@ -#ifndef CORE_IO_CMDLINE_HH -#define CORE_IO_CMDLINE_HH 1 #pragma once namespace io::cmdline @@ -11,5 +9,3 @@ std::string_view get(std::string_view option, std::string_view fallback = ""); const char* get_cstr(std::string_view option, const char* fallback = nullptr); bool contains(std::string_view option); } // namespace io::cmdline - -#endif // CORE_IO_CMDLINE_HH diff --git a/core/io/config_map.hh b/core/io/config_map.hh index 7ab7543..b0cd579 100644 --- a/core/io/config_map.hh +++ b/core/io/config_map.hh @@ -1,5 +1,3 @@ -#ifndef CORE_CONFIG_MAP_HH -#define CORE_CONFIG_MAP_HH 1 #pragma once namespace config @@ -29,5 +27,3 @@ private: std::unordered_map m_values; }; } // namespace io - -#endif // CORE_CONFIG_MAP_HH -- cgit