summaryrefslogtreecommitdiff
path: root/src/utils/cpp
diff options
context:
space:
mode:
authorMaksim Denisov <denisov.maksim@huawei.com>2024-09-16 13:12:13 +0200
committerMaksim Denisov <denisov.maksim@huawei.com>2024-09-18 16:47:40 +0200
commit62929ab02c7f8e93b3d7241df775acdf2a1e1b36 (patch)
treec814f25d710559a097df96da794dcfdca8426c8f /src/utils/cpp
parentbf66b1cc04a0b1e13d53e6c52e44188753b932c4 (diff)
downloadjustbuild-62929ab02c7f8e93b3d7241df775acdf2a1e1b36.tar.gz
Add missing #endif comments in headers
Diffstat (limited to 'src/utils/cpp')
-rw-r--r--src/utils/cpp/hash_combine.hpp2
-rw-r--r--src/utils/cpp/path.hpp2
-rw-r--r--src/utils/cpp/path_rebase.hpp2
-rw-r--r--src/utils/cpp/prefix.hpp2
-rw-r--r--src/utils/cpp/vector.hpp2
5 files changed, 5 insertions, 5 deletions
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<std::size_t*> const& seed,
std::hash<T>{}(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<T>* x) {
auto it = std::unique(x->begin(), x->end());
x->erase(it, x->end());
}
-#endif
+#endif // INCLUDED_SRC_UTILS_CPP_VECTOR_HPP