[FIXUP] Reset m_currentNode at the end of the constructor

This commit is contained in:
Kamil Śliwak 2021-02-05 13:45:33 +01:00
parent 85719c9858
commit 0cf76ea3cd

View File

@ -73,6 +73,8 @@ FunctionCallGraphBuilder::FunctionCallGraphBuilder(ContractDefinition const& _co
if (_contract.receiveFunction())
add(SpecialNode::Entry, _contract.receiveFunction());
m_currentNode.reset();
}
bool FunctionCallGraphBuilder::CompareByID::operator()(Node const& _lhs, Node const& _rhs) const