mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-29 15:04:57 +00:00
Fix CopyFrom for non-POD data types.
llvm-svn: 42208
This commit is contained in:
parent
6820dc306f
commit
40196b7929
@ -210,7 +210,7 @@ private:
|
||||
new (Buckets[i].first) KeyT(other.Buckets[i].first);
|
||||
if (Buckets[i].first != getEmptyKey() &&
|
||||
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user