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
@@ -1080,7 +1080,7 @@ unordered_set<T, H, P, A>::unordered_set(unordered_set const& other)
: table_(other.table_)
{
if (other.table_.size_) {
table_.copy_buckets(other.table_);
table_.copy_buckets_unique(other.table_);
}
}
@@ -1097,7 +1097,7 @@ unordered_set<T, H, P, A>::unordered_set(
: table_(other.table_, a)
{
if (other.table_.size_) {
table_.copy_buckets(other.table_);
table_.copy_buckets_unique(other.table_);
}
}
@@ -1483,7 +1483,7 @@ unordered_multiset<T, H, P, A>::unordered_multiset(
: table_(other.table_)
{
if (other.table_.size_) {
table_.copy_buckets(other.table_);
table_.copy_buckets_equiv(other.table_);
}
}
@@ -1500,7 +1500,7 @@ unordered_multiset<T, H, P, A>::unordered_multiset(
: table_(other.table_, a)
{
if (other.table_.size_) {
table_.copy_buckets(other.table_);
table_.copy_buckets_equiv(other.table_);
}
}