From c4634fb08cf3fadc2771983e9cb539910b65ebe8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Thu, 2 Sep 2021 17:16:07 +0200 Subject: [PATCH] restore workaround for a warning --- .../examples/Arrangement_on_surface_2/bgl_primal_adapter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Arrangement_on_surface_2/examples/Arrangement_on_surface_2/bgl_primal_adapter.cpp b/Arrangement_on_surface_2/examples/Arrangement_on_surface_2/bgl_primal_adapter.cpp index ff3e19a250e..c232a671542 100644 --- a/Arrangement_on_surface_2/examples/Arrangement_on_surface_2/bgl_primal_adapter.cpp +++ b/Arrangement_on_surface_2/examples/Arrangement_on_surface_2/bgl_primal_adapter.cpp @@ -35,7 +35,7 @@ int main() { // Create a property map based on std::vector to keep the result distances. boost::vector_property_map - dist_map(arr.number_of_vertices(), index_map); + dist_map(static_cast(arr.number_of_vertices()), index_map); // Perform Dijkstra's algorithm from the vertex v0. My_edge_length edge_length;