mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #13388 from Pospelove/fix-12027
Fix iter_swap build issue
This commit is contained in:
commit
1b081d0c46
@ -37,8 +37,6 @@
|
|||||||
|
|
||||||
#include <boost/algorithm/string/join.hpp>
|
#include <boost/algorithm/string/join.hpp>
|
||||||
|
|
||||||
#include <range/v3/algorithm/sort.hpp>
|
|
||||||
|
|
||||||
#include <utility>
|
#include <utility>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
@ -629,7 +627,7 @@ bool ASTJsonExporter::visit(InlineAssembly const& _node)
|
|||||||
|
|
||||||
Json::Value externalReferencesJson = Json::arrayValue;
|
Json::Value externalReferencesJson = Json::arrayValue;
|
||||||
|
|
||||||
ranges::sort(externalReferences);
|
std::sort(externalReferences.begin(), externalReferences.end());
|
||||||
for (Json::Value& it: externalReferences | ranges::views::values)
|
for (Json::Value& it: externalReferences | ranges::views::values)
|
||||||
externalReferencesJson.append(std::move(it));
|
externalReferencesJson.append(std::move(it));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user