[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
This commit is contained in:
Frederic Riss 2015-03-05 05:17:06 +00:00
parent 315492ba12
commit 0ff2c1e37f

View File

@ -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; }