mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Fix CopyFrom for non-POD data types.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42208 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
27725bf13f
commit
4938d34772
@ -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