Fix issue in the toposort algorithm and move-only types
MODIFY
include/vcpkg_Graphs.h
include/vcpkg_Graphs.h
@@ -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);

Fix issue in the toposort algorithm and move-only types