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 dfff7a1Copy full SHA for dfff7a1
1 file changed
src/node_metadata.cc
@@ -177,8 +177,9 @@ Metadata::Versions::pairs() const {
177
NODE_VERSIONS_KEYS(V)
178
#undef V
179
180
- std::ranges::sort(versions_array,
181
- [](auto& a, auto& b) { return a.first < b.first; });
+ std::sort(versions_array.begin(),
+ versions_array.end(),
182
+ [](auto& a, auto& b) { return a.first < b.first; });
183
184
return versions_array;
185
}
0 commit comments