From 0ff2c1e37f0535a239c9b0b3a0ac4ce3930e1dbf Mon Sep 17 00:00:00 2001 From: Frederic Riss Date: Thu, 5 Mar 2015 05:17:06 +0000 Subject: [PATCH] [dsymutil] MSVC does generate move constructors, but it should accept to default them git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231350 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/dsymutil/DwarfLinker.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tools/dsymutil/DwarfLinker.cpp b/tools/dsymutil/DwarfLinker.cpp index 628643ce7b3..e54f6bc61c5 100644 --- a/tools/dsymutil/DwarfLinker.cpp +++ b/tools/dsymutil/DwarfLinker.cpp @@ -65,10 +65,7 @@ public: } // Workaround MSVC not supporting implicit move ops - CompileUnit(CompileUnit &&RHS) - : OrigUnit(RHS.OrigUnit), Info(std::move(RHS.Info)), - CUDie(std::move(RHS.CUDie)), StartOffset(RHS.StartOffset), - NextUnitOffset(RHS.NextUnitOffset) {} + CompileUnit(CompileUnit &&RHS) = default; DWARFUnit &getOrigUnit() const { return OrigUnit; }