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:
parent
0a5f16ee81
commit
4332b26a0e
22 changed files with 412 additions and 216 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue