Skip to content

Commit

Permalink
Merge branch 'develop' into brryan/pin_ubuntu_CI_image
Browse files Browse the repository at this point in the history
  • Loading branch information
brryan authored Oct 31, 2024
2 parents 9ec0cf8 + b636bba commit 0d115cb
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 0d115cb

Please sign in to comment.