Unorderd: Stop deriving from hash policy.

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

No files matched your search

+2 -4
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)