forked from boostorg/unordered
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:
@@ -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_);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user