diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-04-12 19:29:43 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-04-12 22:05:03 -0700 |
| commit | 76f2c557ef915a13b37bc9a3ff0f9299373fe923 (patch) | |
| tree | e1e569a15a35d0c523dabb805447ce9d5a6256ad | |
| parent | 5cd921c2b55340d2d300250537de5600b48a2b12 (diff) | |
| download | vcpkg-76f2c557ef915a13b37bc9a3ff0f9299373fe923.tar.gz vcpkg-76f2c557ef915a13b37bc9a3ff0f9299373fe923.zip | |
Fix issue in the toposort algorithm and move-only types
| -rw-r--r-- | toolsrc/include/vcpkg_Graphs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/include/vcpkg_Graphs.h b/toolsrc/include/vcpkg_Graphs.h index 1b9cbcb5a..97cd29236 100644 --- a/toolsrc/include/vcpkg_Graphs.h +++ b/toolsrc/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); |
