From: Peter Collingbourne Date: Thu, 10 Jul 2014 04:39:40 +0000 (+0000) Subject: Remove move assignment operator to appease older GCCs. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=141d3e3015f67604d122618f1ba97c41aaab80b8;p=oota-llvm.git Remove move assignment operator to appease older GCCs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212682 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Support/SpecialCaseList.cpp b/lib/Support/SpecialCaseList.cpp index 43824891af3..21e43c5e703 100644 --- a/lib/Support/SpecialCaseList.cpp +++ b/lib/Support/SpecialCaseList.cpp @@ -37,11 +37,6 @@ struct SpecialCaseList::Entry { Entry() {} Entry(Entry &&Other) : Strings(std::move(Other.Strings)), RegEx(std::move(Other.RegEx)) {} - Entry &operator=(Entry &&Other) { - Strings = std::move(Other.Strings); - RegEx = std::move(Other.RegEx); - return *this; - } StringSet<> Strings; std::unique_ptr RegEx;