ParserBase has virtual functions but did not have a virtual dtor.

This commit is contained in:
Christian Parpart 2021-06-30 12:08:59 +02:00
parent eaac16c779
commit d640255a2c

View File

@ -47,6 +47,8 @@ public:
m_parserErrorRecovery = _parserErrorRecovery;
}
virtual ~ParserBase() = default;
std::shared_ptr<CharStream> source() const { return m_scanner->charStream(); }
protected: