mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
ParserBase has virtual functions but did not have a virtual dtor.
This commit is contained in:
parent
b7edcc51d6
commit
adb09452d8
@ -47,6 +47,8 @@ public:
|
|||||||
m_parserErrorRecovery = _parserErrorRecovery;
|
m_parserErrorRecovery = _parserErrorRecovery;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
virtual ~ParserBase() = default;
|
||||||
|
|
||||||
std::shared_ptr<CharStream> source() const { return m_scanner->charStream(); }
|
std::shared_ptr<CharStream> source() const { return m_scanner->charStream(); }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
Loading…
Reference in New Issue
Block a user