Skip to content

Commit 1b081d0

Browse files
authored
Merge pull request #13388 from Pospelove/fix-12027
Fix iter_swap build issue
2 parents c0e6780 + 4682c01 commit 1b081d0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

libsolidity/ast/ASTJsonExporter.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@
3737

3838
#include <boost/algorithm/string/join.hpp>
3939

40-
#include <range/v3/algorithm/sort.hpp>
41-
4240
#include <utility>
4341
#include <vector>
4442
#include <algorithm>
@@ -629,7 +627,7 @@ bool ASTJsonExporter::visit(InlineAssembly const& _node)
629627

630628
Json::Value externalReferencesJson = Json::arrayValue;
631629

632-
ranges::sort(externalReferences);
630+
std::sort(externalReferences.begin(), externalReferences.end());
633631
for (Json::Value& it: externalReferences | ranges::views::values)
634632
externalReferencesJson.append(std::move(it));
635633

0 commit comments

Comments
 (0)