summaryrefslogtreecommitdiff
path: root/include/llvm/ADT/DenseMap.h
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2012-05-29 20:33:09 +0000
committerDouglas Gregor <dgregor@apple.com>2012-05-29 20:33:09 +0000
commitaad82963837af31c1e5b8b9c3ac282b0e826b18b (patch)
tree77a9668bfe5060f32029809188dba3af703b2a26 /include/llvm/ADT/DenseMap.h
parentcac58aa80ea9450d5e5b0499ac598b646f419b51 (diff)
downloadllvm-aad82963837af31c1e5b8b9c3ac282b0e826b18b.tar.gz
llvm-aad82963837af31c1e5b8b9c3ac282b0e826b18b.tar.bz2
llvm-aad82963837af31c1e5b8b9c3ac282b0e826b18b.tar.xz
DenseMap's move assignment operator needs to return *this
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157644 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT/DenseMap.h')
-rw-r--r--include/llvm/ADT/DenseMap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/ADT/DenseMap.h b/include/llvm/ADT/DenseMap.h
index 0ceca926c6..07a17535fc 100644
--- 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