diff --git a/test/libsolidity/analysis/FunctionCallGraph.cpp b/test/libsolidity/analysis/FunctionCallGraph.cpp index 3646b9a99..a09a8a291 100644 --- a/test/libsolidity/analysis/FunctionCallGraph.cpp +++ b/test/libsolidity/analysis/FunctionCallGraph.cpp @@ -39,7 +39,6 @@ #include #include -#include #include #include #include @@ -173,8 +172,8 @@ void checkCallGraphExpectations( ostream& operator<<(ostream& _out, EdgeNames const& _edgeNames) { - for (auto const& edge: _edgeNames | to() | actions::sort(std::less())) - _out << " " << get<0>(edge) << " -> " << get<1>(edge) << endl; + for (auto const& [from, to]: _edgeNames) + _out << " " << from << " -> " << to << endl; return _out; }