1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2025-08-03 12:49:50 +00:00

fix hash implementation

This commit is contained in:
bolero-MURAKAMI 2013-02-04 18:42:39 +09:00
parent 0a5f16ee81
commit 4332b26a0e
22 changed files with 412 additions and 216 deletions

View file

@ -13,7 +13,7 @@ namespace sprout {
template<typename T1, typename T2>
inline SPROUT_CONSTEXPR std::size_t
hash_value(sscrisk::cel::pair<T1, T2> const& v) {
return sprout::hash_combine(sprout::hash_combine(0, v.first), v.second);
return sprout::hash_values(v.first, v.second);
}
} // namespace sprout