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:
cac58aa
)
DenseMap's move assignment operator needs to return *this
author
Douglas Gregor
<dgregor@apple.com>
Tue, 29 May 2012 20:33:09 +0000
(20:33 +0000)
committer
Douglas Gregor
<dgregor@apple.com>
Tue, 29 May 2012 20:33:09 +0000
(20:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157644
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 0ceca926c682e493cb122fa97edbbfcf90f61472..07a17535fc976e8ca9822d30a2fbb02efd14c7ea 100644
(file)
--- a/
include/llvm/ADT/DenseMap.h
+++ b/
include/llvm/ADT/DenseMap.h
@@
-256,6
+256,7
@@
public:
DestroyAll();
init(0);
swap(other);
+ return *this;
}
#endif