From: Douglas Gregor Date: Tue, 29 May 2012 20:33:09 +0000 (+0000) Subject: DenseMap's move assignment operator needs to return *this X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=aad82963837af31c1e5b8b9c3ac282b0e826b18b;p=oota-llvm.git 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 --- 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