Fix CopyFrom for non-POD data types.

llvm-svn: 42208
This commit is contained in:
Owen Anderson 2007-09-21 20:55:54 +00:00
parent 87ce0bec91
commit 3e466535cf
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}