Skip to content

Commit

Permalink
Merge pull request #1202 from parthenon-hpc-lab/dempsey/silence
Browse files Browse the repository at this point in the history
[Trivial] Silence compiler warning
  • Loading branch information
Yurlungur authored Oct 31, 2024
2 parents 79d5d30 + 6a0097a commit b636bba
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/utils/hash.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,8 @@ std::size_t hash_combine(std::size_t lhs, const T &v, Rest &&...rest) {
lhs ^= rhs + 0x9e3779b9 + (lhs << 6) + (lhs >> 2);
if constexpr (sizeof...(Rest) > 0) {
return hash_combine(lhs, std::forward<Rest>(rest)...);
} else {
return lhs;
}
return lhs;
}

template <class Tup, std::size_t I = std::tuple_size<Tup>::value - 1>
Expand Down

0 comments on commit b636bba

Please sign in to comment.