Merge pull request #13388 from Pospelove/fix-12027

Fix iter_swap build issue
This commit is contained in:
Daniel Kirchner
2022-08-15 17:32:16 +02:00
committed by GitHub
+1 -3
View File
@@ -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));