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
commit 1b081d0c46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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));