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