Fix topological sort: Add reverse
This commit is contained in:
parent
2f222e1eeb
commit
97fde27f60
1 changed files with 2 additions and 2 deletions
|
@ -263,9 +263,9 @@ consteval auto TopologicalSort(const DependencyGraph<DependencyGraphElement<Name
|
||||||
response.Push(v);
|
response.Push(v);
|
||||||
}(i);
|
}(i);
|
||||||
};
|
};
|
||||||
return utempl::Map(std::move(response.data), [](auto&& data){
|
return (std::move(response.data) | utempl::Map([](auto&& data){
|
||||||
return *data;
|
return *data;
|
||||||
});
|
}) | utempl::Reverse())();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue