forked from OSchip/llvm-project
[dsymutil] MSVC does generate move constructors, but it should accept to default them
llvm-svn: 231350
This commit is contained in:
parent
aedd404a3d
commit
1e9cd2910a
|
@ -65,10 +65,7 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
// Workaround MSVC not supporting implicit move ops
|
// Workaround MSVC not supporting implicit move ops
|
||||||
CompileUnit(CompileUnit &&RHS)
|
CompileUnit(CompileUnit &&RHS) = default;
|
||||||
: OrigUnit(RHS.OrigUnit), Info(std::move(RHS.Info)),
|
|
||||||
CUDie(std::move(RHS.CUDie)), StartOffset(RHS.StartOffset),
|
|
||||||
NextUnitOffset(RHS.NextUnitOffset) {}
|
|
||||||
|
|
||||||
DWARFUnit &getOrigUnit() const { return OrigUnit; }
|
DWARFUnit &getOrigUnit() const { return OrigUnit; }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue