Unorderd: Stop deriving from hash policy.

[SVN r81209]
This commit is contained in:
Daniel James
2012-11-05 18:33:29 +00:00
parent d495cbd7e6
commit 73c0d85ae6
6 changed files with 29 additions and 47 deletions

View File

@@ -448,8 +448,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)
@@ -917,8 +916,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)