mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix compilation error with GCC 8.
This commit is contained in:
parent
0e22d0bd40
commit
6d19a25705
@ -39,7 +39,6 @@
|
|||||||
#include <range/v3/view/set_algorithm.hpp>
|
#include <range/v3/view/set_algorithm.hpp>
|
||||||
#include <range/v3/view/transform.hpp>
|
#include <range/v3/view/transform.hpp>
|
||||||
|
|
||||||
#include <functional>
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <ostream>
|
#include <ostream>
|
||||||
#include <set>
|
#include <set>
|
||||||
@ -173,8 +172,8 @@ void checkCallGraphExpectations(
|
|||||||
|
|
||||||
ostream& operator<<(ostream& _out, EdgeNames const& _edgeNames)
|
ostream& operator<<(ostream& _out, EdgeNames const& _edgeNames)
|
||||||
{
|
{
|
||||||
for (auto const& edge: _edgeNames | to<vector>() | actions::sort(std::less()))
|
for (auto const& [from, to]: _edgeNames)
|
||||||
_out << " " << get<0>(edge) << " -> " << get<1>(edge) << endl;
|
_out << " " << from << " -> " << to << endl;
|
||||||
return _out;
|
return _out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user