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
commit 57d32ca252
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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