forked from OSchip/llvm-project
Work around MSVC 2013's inability to default move special members.
llvm-svn: 281382
This commit is contained in:
parent
3e9037d419
commit
85edca95c6
|
@ -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