Skip to content

Commit

Permalink
Merge pull request ethereum#11095 from ethereum/fixGcc8
Browse files Browse the repository at this point in the history
Fix compilation error with GCC 8.
  • Loading branch information
ekpyron authored Mar 12, 2021
2 parents a93ad3b + 6d19a25 commit 1265b39
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/libsolidity/analysis/FunctionCallGraph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
#include <range/v3/view/set_algorithm.hpp>
#include <range/v3/view/transform.hpp>

#include <functional>
#include <memory>
#include <ostream>
#include <set>
Expand Down Expand Up @@ -173,8 +172,8 @@ void checkCallGraphExpectations(

ostream& operator<<(ostream& _out, EdgeNames const& _edgeNames)
{
for (auto const& edge: _edgeNames | to<vector>() | actions::sort(std::less()))
_out << " " << get<0>(edge) << " -> " << get<1>(edge) << endl;
for (auto const& [from, to]: _edgeNames)
_out << " " << from << " -> " << to << endl;
return _out;
}

Expand Down

0 comments on commit 1265b39

Please sign in to comment.