From e98d38816e0b4cd75265ec741b4dc4d8b144ed25 Mon Sep 17 00:00:00 2001 From: untodesu Date: Sun, 29 Jun 2025 23:09:09 +0500 Subject: Replace #endif comments because it bothers me --- src/core/angles.hh | 2 +- src/core/binfile.hh | 2 +- src/core/buffer.hh | 2 +- src/core/cmdline.hh | 2 +- src/core/concepts.hh | 2 +- src/core/config.hh | 2 +- src/core/constexpr.hh | 2 +- src/core/crc64.hh | 2 +- src/core/epoch.hh | 2 +- src/core/floathacks.hh | 2 +- src/core/image.hh | 2 +- src/core/macros.hh | 2 +- src/core/pch.hh | 2 +- src/core/randomizer.hh | 2 +- src/core/resource.hh | 2 +- src/core/strtools.hh | 2 +- src/core/vectors.hh | 2 +- src/core/version.hh | 2 +- 18 files changed, 18 insertions(+), 18 deletions(-) (limited to 'src/core') diff --git a/src/core/angles.hh b/src/core/angles.hh index a2a3d55..95e42dc 100644 --- a/src/core/angles.hh +++ b/src/core/angles.hh @@ -104,4 +104,4 @@ inline void cxangles::vectors(const glm::fvec3& angles, glm::fvec3* forward, glm } } -#endif /* CORE_ANGLES_HH */ +#endif // CORE_ANGLES_HH diff --git a/src/core/binfile.hh b/src/core/binfile.hh index 21dab40..56a3ddc 100644 --- a/src/core/binfile.hh +++ b/src/core/binfile.hh @@ -7,4 +7,4 @@ struct BinFile final { std::size_t size; }; -#endif /* CORE_BINFILE_HH */ +#endif // CORE_BINFILE_HH diff --git a/src/core/buffer.hh b/src/core/buffer.hh index 1397e16..4706ffe 100644 --- a/src/core/buffer.hh +++ b/src/core/buffer.hh @@ -252,4 +252,4 @@ inline WriteBuffer& WriteBuffer::operator<<(const std::string& value) return *this; } -#endif /* CORE_BUFFER_HH */ +#endif // CORE_BUFFER_HH diff --git a/src/core/cmdline.hh b/src/core/cmdline.hh index 8441a44..6e31076 100644 --- a/src/core/cmdline.hh +++ b/src/core/cmdline.hh @@ -10,4 +10,4 @@ const char* get(const char* option, const char* fallback = nullptr); bool contains(const char* option); } // namespace cmdline -#endif /* CORE_CMDLINE_HH */ +#endif // CORE_CMDLINE_HH diff --git a/src/core/concepts.hh b/src/core/concepts.hh index 47b01d2..9168c1e 100644 --- a/src/core/concepts.hh +++ b/src/core/concepts.hh @@ -12,4 +12,4 @@ template concept FloatingPoint = std::is_floating_point_v; } // namespace vx -#endif /* CORE_CONCEPTS_HH */ +#endif // CORE_CONCEPTS_HH diff --git a/src/core/config.hh b/src/core/config.hh index a7f8500..c3921a8 100644 --- a/src/core/config.hh +++ b/src/core/config.hh @@ -179,4 +179,4 @@ inline void ConfigNumber::set_limits(T min_value, T max_value) m_string = std::to_string(m_value); } -#endif /* CORE_CONFIG_HH */ +#endif // CORE_CONFIG_HH diff --git a/src/core/constexpr.hh b/src/core/constexpr.hh index 18c83c0..0c122e0 100644 --- a/src/core/constexpr.hh +++ b/src/core/constexpr.hh @@ -188,4 +188,4 @@ constexpr static inline const T vx::smoothstep(const T x, const T y, const F a) return static_cast(t * t * (F(3) - F(2) * t)); } -#endif /* CORE_CONSTEXPR_HH */ +#endif // CORE_CONSTEXPR_HH diff --git a/src/core/crc64.hh b/src/core/crc64.hh index da4ad2c..642afea 100644 --- a/src/core/crc64.hh +++ b/src/core/crc64.hh @@ -9,4 +9,4 @@ std::uint64_t get(const std::vector& buffer, std::uint64_t combine = std::uint64_t get(const std::string& buffer, std::uint64_t combine = UINT64_C(0)); } // namespace crc64 -#endif /* CORE_CRC64_HH */ +#endif // CORE_CRC64_HH diff --git a/src/core/epoch.hh b/src/core/epoch.hh index f590f27..b17aadf 100644 --- a/src/core/epoch.hh +++ b/src/core/epoch.hh @@ -16,4 +16,4 @@ std::int64_t signed_milliseconds(void); std::int64_t signed_microseconds(void); } // namespace epoch -#endif /* CORE_EPOCH_HH */ +#endif // CORE_EPOCH_HH diff --git a/src/core/floathacks.hh b/src/core/floathacks.hh index 29b7cac..b81f98c 100644 --- a/src/core/floathacks.hh +++ b/src/core/floathacks.hh @@ -53,4 +53,4 @@ static inline std::uint32_t floathacks::float_to_uint32(const float value) return hack.dst; } -#endif /* CORE_FLOATHACKS_HH */ +#endif // CORE_FLOATHACKS_HH diff --git a/src/core/image.hh b/src/core/image.hh index 92d99be..b5c69e0 100644 --- a/src/core/image.hh +++ b/src/core/image.hh @@ -10,4 +10,4 @@ struct Image final { glm::ivec2 size; }; -#endif /* CORE_IMAGE_HH */ +#endif // CORE_IMAGE_HH diff --git a/src/core/macros.hh b/src/core/macros.hh index 9a76109..fbbe10c 100644 --- a/src/core/macros.hh +++ b/src/core/macros.hh @@ -16,4 +16,4 @@ public: \ public: \ class_name(void) = default -#endif /* CORE_MACROS_HH */ +#endif // CORE_MACROS_HH diff --git a/src/core/pch.hh b/src/core/pch.hh index 795a287..924b1dd 100644 --- a/src/core/pch.hh +++ b/src/core/pch.hh @@ -47,4 +47,4 @@ #include #include -#endif /* CORE_PCH_HH */ +#endif // CORE_PCH_HH diff --git a/src/core/randomizer.hh b/src/core/randomizer.hh index b60b839..4d1bb83 100644 --- a/src/core/randomizer.hh +++ b/src/core/randomizer.hh @@ -54,4 +54,4 @@ inline void Randomizer::clear(void) m_dist = std::uniform_int_distribution(0, 0); } -#endif /* CORE_RANDOMIZER_HH */ +#endif // CORE_RANDOMIZER_HH diff --git a/src/core/resource.hh b/src/core/resource.hh index ab7b74f..3b9fff0 100644 --- a/src/core/resource.hh +++ b/src/core/resource.hh @@ -15,4 +15,4 @@ template void soft_cleanup(void); } // namespace resource -#endif /* CORE_RESOURCE_HH */ +#endif // CORE_RESOURCE_HH diff --git a/src/core/strtools.hh b/src/core/strtools.hh index 1462978..476a5f7 100644 --- a/src/core/strtools.hh +++ b/src/core/strtools.hh @@ -18,4 +18,4 @@ namespace strtools std::string trim_whitespace(const std::string& string); } // namespace strtools -#endif /* CORE_STRTOOLS_HH */ +#endif // CORE_STRTOOLS_HH diff --git a/src/core/vectors.hh b/src/core/vectors.hh index a6e9c75..11ba2a1 100644 --- a/src/core/vectors.hh +++ b/src/core/vectors.hh @@ -44,4 +44,4 @@ constexpr static inline const T vx::distance2(const glm::vec<3, T>& vector_a, co return vx::length2(vector_a - vector_b); } -#endif /* CORE_VECTORS_HH */ +#endif // CORE_VECTORS_HH diff --git a/src/core/version.hh b/src/core/version.hh index fc4d48a..627df17 100644 --- a/src/core/version.hh +++ b/src/core/version.hh @@ -9,4 +9,4 @@ extern const unsigned long project_version_tweak; extern const char* project_version_string; -#endif /* CORE_VERSION_HH */ +#endif // CORE_VERSION_HH -- cgit