From c0ab24b73d57a6f78f2cf6f0c2b9a46eaedbb8e2 Mon Sep 17 00:00:00 2001 From: Maxime Gimeno Date: Tue, 4 Jul 2017 10:28:26 +0200 Subject: [PATCH] Fix conversion warning : replace unsigned int by std::size_t in map_i2i --- .../Plugins/Point_set/Surface_reconstruction_plugin.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Polyhedron/demo/Polyhedron/Plugins/Point_set/Surface_reconstruction_plugin.cpp b/Polyhedron/demo/Polyhedron/Plugins/Point_set/Surface_reconstruction_plugin.cpp index 4fa26827423..832b7ab787a 100644 --- a/Polyhedron/demo/Polyhedron/Plugins/Point_set/Surface_reconstruction_plugin.cpp +++ b/Polyhedron/demo/Polyhedron/Plugins/Point_set/Surface_reconstruction_plugin.cpp @@ -400,8 +400,8 @@ namespace SurfaceReconstruction smooth_item->init_polygon_soup(points.size(), reconstruct.number_of_facets ()); } - std::map map_i2i; - unsigned int current_index = 0; + std::map map_i2i; + std::size_t current_index = 0; for (ScaleSpace::Facet_iterator it = reconstruct.facets_begin(); it != reconstruct.facets_end(); ++ it) @@ -513,9 +513,9 @@ namespace SurfaceReconstruction smooth_item->init_polygon_soup(points.size(), num); } - std::map map_i2i; + std::map map_i2i; - unsigned int current_index = 0; + std::size_t current_index = 0; for (ScaleSpaceASM::Facet_iterator it=mesher.garbage_begin(), end=mesher.garbage_end();it!=end;++it) {