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

This commit is contained in:
Christian Parpart
2021-07-13 17:36:18 +02:00
committed by chriseth
parent b7edcc51d6
commit adb09452d8
+2
View File
@@ -47,6 +47,8 @@ public:
m_parserErrorRecovery = _parserErrorRecovery;
}
virtual ~ParserBase() = default;
std::shared_ptr<CharStream> source() const { return m_scanner->charStream(); }
protected: