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

This commit is contained in:
Christian Parpart committed 2021-06-30 12:08:59 +02:00
1 parent eaac16c779
commit d640255a2c
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: