From 8876c3face0e6b0d0fa7cee476b308011fe9965e Mon Sep 17 00:00:00 2001 From: Peter Collingbourne Date: Thu, 10 Jul 2014 04:39:40 +0000 Subject: [PATCH] Remove move assignment operator to appease older GCCs. llvm-svn: 212682 --- llvm/lib/Support/SpecialCaseList.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/llvm/lib/Support/SpecialCaseList.cpp b/llvm/lib/Support/SpecialCaseList.cpp index 4382489..21e43c5 100644 --- a/llvm/lib/Support/SpecialCaseList.cpp +++ b/llvm/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; -- 2.7.4