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

This commit is contained in:
Christian Parpart authored and chriseth committed 2021-07-13 17:36:18 +02:00
1 parent b7edcc51d6
commit adb09452d8
1 file changed
+2
+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: