diff --git a/libsolidity/codegen/ir/IRGenerator.cpp b/libsolidity/codegen/ir/IRGenerator.cpp index 20a434e13..14541e516 100644 --- a/libsolidity/codegen/ir/IRGenerator.cpp +++ b/libsolidity/codegen/ir/IRGenerator.cpp @@ -46,7 +46,6 @@ #include using namespace std; -using namespace ranges; using namespace solidity; using namespace solidity::util; using namespace solidity::frontend; @@ -80,7 +79,7 @@ set collectReachableCallables( ) { set reachableCallables; - for (CallGraph::Node const& reachableNode: _graph.edges | views::keys) + for (CallGraph::Node const& reachableNode: _graph.edges | ranges::views::keys) if (holds_alternative(reachableNode)) reachableCallables.emplace(get(reachableNode));