We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86a497c commit f1670c5Copy full SHA for f1670c5
1 file changed
src/node_metadata.cc
@@ -1,4 +1,5 @@
1
#include "node_metadata.h"
2
+#include <algorithm>
3
#include "acorn_version.h"
4
#include "ada.h"
5
#include "amaro_version.h"
@@ -177,8 +178,9 @@ Metadata::Versions::pairs() const {
177
178
NODE_VERSIONS_KEYS(V)
179
#undef V
180
- std::ranges::sort(versions_array,
181
- [](auto& a, auto& b) { return a.first < b.first; });
+ std::sort(versions_array.begin(),
182
+ versions_array.end(),
183
+ [](auto& a, auto& b) { return a.first < b.first; });
184
185
return versions_array;
186
}
0 commit comments