forked from OSchip/llvm-project
parent
87ce0bec91
commit
3e466535cf
|
@ -210,7 +210,7 @@ private:
|
||||||
new (Buckets[i].first) KeyT(other.Buckets[i].first);
|
new (Buckets[i].first) KeyT(other.Buckets[i].first);
|
||||||
if (Buckets[i].first != getEmptyKey() &&
|
if (Buckets[i].first != getEmptyKey() &&
|
||||||
Buckets[i].first != getTombstoneKey())
|
Buckets[i].first != getTombstoneKey())
|
||||||
new (Buckets[i].second) ValueT(other.Buckets[i].second);
|
new (&Buckets[i].second) ValueT(other.Buckets[i].second);
|
||||||
}
|
}
|
||||||
NumBuckets = other.NumBuckets;
|
NumBuckets = other.NumBuckets;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue