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 committed by chriseth
parent b7edcc51d6
commit adb09452d8

View File

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