Merge pull request #11657 from ethereum/fixParserDestructor

ParserBase has virtual functions but did not have a virtual dtor.
This commit is contained in:
chriseth
2021-07-13 17:59:04 +02:00
committed by GitHub
+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: