diff options
author | Douglas Gregor <dgregor@apple.com> | 2012-05-29 20:33:09 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2012-05-29 20:33:09 +0000 |
commit | aad82963837af31c1e5b8b9c3ac282b0e826b18b (patch) | |
tree | 77a9668bfe5060f32029809188dba3af703b2a26 /include/llvm/ADT/DenseMap.h | |
parent | cac58aa80ea9450d5e5b0499ac598b646f419b51 (diff) |
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.h | 1 |
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 |