Unordered: Merge code clean up.

[SVN r81358]
This commit is contained in:
Daniel James
2012-11-15 13:43:37 +00:00
parent 81897a6469
commit 981f1e2acb
7 changed files with 266 additions and 418 deletions

View File

@@ -463,8 +463,7 @@ namespace unordered
size_type bucket(const key_type& k) const
{
return table::to_bucket(table_.bucket_count_,
table_.hash(k));
return table_.hash_to_bucket(table_.hash(k));
}
local_iterator begin(size_type n)
@@ -942,8 +941,7 @@ namespace unordered
size_type bucket(const key_type& k) const
{
return table::to_bucket(table_.bucket_count_,
table_.hash(k));
return table_.hash_to_bucket(table_.hash(k));
}
local_iterator begin(size_type n)