Applied readability-magic-numbers clang-tidy fixes

This commit is contained in:
Bartek Kryza
2022-12-20 23:49:20 +01:00
parent 0687c3093e
commit 134ad77f5c
8 changed files with 38 additions and 13 deletions

View File

@@ -131,8 +131,8 @@ template <> struct hash<clanguml::common::model::filesystem_path> {
std::size_t seed = key.size();
for (const auto &ns : key) {
seed ^= std::hash<std::string>{}(ns) + 0x6a3712b5 + (seed << 6) +
(seed >> 2);
seed ^=
std::hash<std::string>{}(ns) + clanguml::util::hash_seed(seed);
}
return seed;