[llvm] r212682 - Remove move assignment operator to appease older GCCs.
Peter Collingbourne
peter at pcc.me.uk
Wed Jul 9 21:39:40 PDT 2014
Author: pcc
Date: Wed Jul 9 23:39:40 2014
New Revision: 212682
URL: http://llvm.org/viewvc/llvm-project?rev=212682&view=rev
Log:
Remove move assignment operator to appease older GCCs.
Modified:
llvm/trunk/lib/Support/SpecialCaseList.cpp
Modified: llvm/trunk/lib/Support/SpecialCaseList.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/SpecialCaseList.cpp?rev=212682&r1=212681&r2=212682&view=diff
==============================================================================
--- llvm/trunk/lib/Support/SpecialCaseList.cpp (original)
+++ llvm/trunk/lib/Support/SpecialCaseList.cpp Wed Jul 9 23:39:40 2014
@@ -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> RegEx;
More information about the llvm-commits
mailing list