Rename some copy/assign/move methods

But with a hack so that the static casts will work until there's a
better method.
This commit is contained in:
Daniel James
2017-04-24 09:46:05 +01:00
parent 84f1ef6d2d
commit e518120104
3 changed files with 44 additions and 14 deletions
+4 -4
View File
@@ -1381,7 +1381,7 @@ unordered_map<K, T, H, P, A>::unordered_map(unordered_map const& other)
: table_(other.table_)
{
if (other.table_.size_) {
table_.copy_buckets(other.table_);
table_.copy_buckets_unique(other.table_);
}
}
@@ -1398,7 +1398,7 @@ unordered_map<K, T, H, P, A>::unordered_map(
: table_(other.table_, a)
{
if (other.table_.size_) {
table_.copy_buckets(other.table_);
table_.copy_buckets_unique(other.table_);
}
}
@@ -1869,7 +1869,7 @@ unordered_multimap<K, T, H, P, A>::unordered_multimap(
: table_(other.table_)
{
if (other.table_.size_) {
table_.copy_buckets(other.table_);
table_.copy_buckets_equiv(other.table_);
}
}
@@ -1886,7 +1886,7 @@ unordered_multimap<K, T, H, P, A>::unordered_multimap(
: table_(other.table_, a)
{
if (other.table_.size_) {
table_.copy_buckets(other.table_);
table_.copy_buckets_equiv(other.table_);
}
}