Revert "Fix topological sort: Add reverse"

This reverts commit 97fde27f60.
This commit is contained in:
sha512sum 2024-04-06 19:50:11 +00:00
parent 318ae061ba
commit 3426a2fce6

View file

@ -306,9 +306,9 @@ consteval auto TopologicalSort(const DependencyGraph<DependencyGraphElement<Name
response.Push(v); response.Push(v);
}(i); }(i);
}; };
return (std::move(response.data) | utempl::Map([](auto&& data){ return utempl::Map(std::move(response.data), [](auto&& data){
return *data; return *data;
}) | utempl::Reverse())(); });
}; };