From 62929ab02c7f8e93b3d7241df775acdf2a1e1b36 Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Mon, 16 Sep 2024 13:12:13 +0200 Subject: Add missing #endif comments in headers --- src/utils/cpp/hash_combine.hpp | 2 +- src/utils/cpp/path.hpp | 2 +- src/utils/cpp/path_rebase.hpp | 2 +- src/utils/cpp/prefix.hpp | 2 +- src/utils/cpp/vector.hpp | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src/utils/cpp') diff --git a/src/utils/cpp/hash_combine.hpp b/src/utils/cpp/hash_combine.hpp index 78fed417..5a63abfa 100644 --- a/src/utils/cpp/hash_combine.hpp +++ b/src/utils/cpp/hash_combine.hpp @@ -28,4 +28,4 @@ inline auto hash_combine(gsl::not_null const& seed, std::hash{}(v) + 0x9e3779b9 + (*seed << 6) + (*seed >> 2); // NOLINT } -#endif +#endif // INCLUDED_SRC_UTILS_CPP_HASH_COMBINE_HPP diff --git a/src/utils/cpp/path.hpp b/src/utils/cpp/path.hpp index f9b937a1..77ea647c 100644 --- a/src/utils/cpp/path.hpp +++ b/src/utils/cpp/path.hpp @@ -59,4 +59,4 @@ return PathIsNonUpwards(applied_to.parent_path() / path); } -#endif +#endif // INCLUDED_SRC_UTILS_CPP_PATH_HPP diff --git a/src/utils/cpp/path_rebase.hpp b/src/utils/cpp/path_rebase.hpp index 25b99724..e98baf5b 100644 --- a/src/utils/cpp/path_rebase.hpp +++ b/src/utils/cpp/path_rebase.hpp @@ -36,4 +36,4 @@ return result; } -#endif +#endif // INCLUDED_SRC_UTILS_CPP_PATH_REBASE_HPP diff --git a/src/utils/cpp/prefix.hpp b/src/utils/cpp/prefix.hpp index 604e8226..5574c01a 100644 --- a/src/utils/cpp/prefix.hpp +++ b/src/utils/cpp/prefix.hpp @@ -30,4 +30,4 @@ return out.str(); } -#endif +#endif // INCLUDED_SRC_UTILS_CPP_PREFIX_HPP diff --git a/src/utils/cpp/vector.hpp b/src/utils/cpp/vector.hpp index ce76f9cf..e5bcd3da 100644 --- a/src/utils/cpp/vector.hpp +++ b/src/utils/cpp/vector.hpp @@ -25,4 +25,4 @@ void sort_and_deduplicate(std::vector* x) { auto it = std::unique(x->begin(), x->end()); x->erase(it, x->end()); } -#endif +#endif // INCLUDED_SRC_UTILS_CPP_VECTOR_HPP -- cgit v1.2.3