mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-18 16:53:02 +08:00
Fix issue in the toposort algorithm and move-only types
This commit is contained in:
parent
5cd921c2b5
commit
76f2c557ef
@ -40,7 +40,7 @@ namespace vcpkg::Graphs
|
||||
case ExplorationStatus::NOT_EXPLORED:
|
||||
{
|
||||
status = ExplorationStatus::PARTIALLY_EXPLORED;
|
||||
const U& vertex_data = f.load_vertex_data(vertex);
|
||||
U vertex_data = f.load_vertex_data(vertex);
|
||||
for (const V& neighbour : f.adjacency_list(vertex_data))
|
||||
topological_sort_internal(neighbour, f, exploration_status, sorted);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user