File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -122,8 +122,7 @@ FunctionCallGraphBuilder::ContractCallGraph FunctionCallGraphBuilder::buildDeplo
122
122
// All functions present in internal dispatch at creation time could potentially be pointers
123
123
// assigned to state variables and as such may be reachable after deployment as well.
124
124
builder.m_currentNode = SpecialNode::InternalDispatch;
125
- set<Node, CompareByID> emptySet;
126
- for (Node const & dispatchTarget: valueOrDefault (_creationGraph.edges , SpecialNode::InternalDispatch, emptySet))
125
+ for (Node const & dispatchTarget: valueOrDefault (_creationGraph.edges , SpecialNode::InternalDispatch, {}))
127
126
{
128
127
solAssert (!holds_alternative<SpecialNode>(dispatchTarget), " " );
129
128
solAssert (get<CallableDeclaration const *>(dispatchTarget) != nullptr , " " );
You can’t perform that action at this time.
0 commit comments