forked from boostorg/unordered
Better hash function for unordered containers. Still a bit rubbish.
[SVN r47463]
This commit is contained in:
@ -2294,7 +2294,7 @@ namespace boost {
|
||||
j = t.data_.buckets_end(); i != j; ++i)
|
||||
{
|
||||
for(link_ptr it(i->next_); BOOST_UNORDERED_BORLAND_BOOL(it); it = data::next_group(it))
|
||||
seed ^= group_hash(t, it, (type_wrapper<V>*)0);
|
||||
seed += group_hash(t, it, (type_wrapper<V>*)0);
|
||||
}
|
||||
|
||||
return seed;
|
||||
|
Reference in New Issue
Block a user