mirror of https://github.com/microsoft/clang.git
Add virtual destructor (necessary due to the switch to shared_ptr).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@281198 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4d206e7dc2
commit
060de1f17b
|
@ -911,6 +911,7 @@ namespace {
|
|||
struct DiagText {
|
||||
struct Piece {
|
||||
virtual void print(std::vector<std::string> &RST) = 0;
|
||||
virtual ~Piece() {}
|
||||
};
|
||||
struct TextPiece : Piece {
|
||||
StringRef Role;
|
||||
|
|
Loading…
Reference in New Issue