From aad82963837af31c1e5b8b9c3ac282b0e826b18b Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Tue, 29 May 2012 20:33:09 +0000 Subject: [PATCH] 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 --- include/llvm/ADT/DenseMap.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/llvm/ADT/DenseMap.h b/include/llvm/ADT/DenseMap.h index 0ceca926c68..07a17535fc9 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