mirror of https://github.com/microsoft/clang.git
Work around MSVC 2013's inability to default move special members.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@281382 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
76b268320a
commit
ba75b718a1
|
@ -911,9 +911,9 @@ namespace {
|
|||
struct DiagText {
|
||||
struct Piece {
|
||||
// This type and its derived classes are move-only.
|
||||
Piece() = default;
|
||||
Piece(Piece &&O) = default;
|
||||
Piece &operator=(Piece &&O) = default;
|
||||
Piece() {}
|
||||
Piece(Piece &&O) {}
|
||||
Piece &operator=(Piece &&O) { return *this; }
|
||||
|
||||
virtual void print(std::vector<std::string> &RST) = 0;
|
||||
virtual ~Piece() {}
|
||||
|
|
Loading…
Reference in New Issue