mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
[FIXUP] Reset m_currentNode at the end of the constructor
This commit is contained in:
@@ -73,6 +73,8 @@ FunctionCallGraphBuilder::FunctionCallGraphBuilder(ContractDefinition const& _co
|
|||||||
|
|
||||||
if (_contract.receiveFunction())
|
if (_contract.receiveFunction())
|
||||||
add(SpecialNode::Entry, _contract.receiveFunction());
|
add(SpecialNode::Entry, _contract.receiveFunction());
|
||||||
|
|
||||||
|
m_currentNode.reset();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool FunctionCallGraphBuilder::CompareByID::operator()(Node const& _lhs, Node const& _rhs) const
|
bool FunctionCallGraphBuilder::CompareByID::operator()(Node const& _lhs, Node const& _rhs) const
|
||||||
|
|||||||
Reference in New Issue
Block a user