projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27725bf
)
Fix CopyFrom for non-POD data types.
author
Owen Anderson
<resistor@mac.com>
Fri, 21 Sep 2007 20:55:54 +0000
(20:55 +0000)
committer
Owen Anderson
<resistor@mac.com>
Fri, 21 Sep 2007 20:55:54 +0000
(20:55 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42208
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/ADT/DenseMap.h
patch
|
blob
|
history
diff --git
a/include/llvm/ADT/DenseMap.h
b/include/llvm/ADT/DenseMap.h
index c291406d51a5ae4a1b337f396bfd82e20287992b..0b9cddf092afe76bf69389a253ef7ce22dbf35af 100644
(file)
--- a/
include/llvm/ADT/DenseMap.h
+++ b/
include/llvm/ADT/DenseMap.h
@@
-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;
}