From 27fce35ca18a95bb959bb71e39efbeb8b81e0f09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mael=20Rouxel-Labb=C3=A9?= Date: Sat, 16 Dec 2017 12:52:10 +0100 Subject: [PATCH] Fixed warning --- .../include/CGAL/IO/facets_in_complex_3_to_triangle_mesh.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Mesh_3/include/CGAL/IO/facets_in_complex_3_to_triangle_mesh.h b/Mesh_3/include/CGAL/IO/facets_in_complex_3_to_triangle_mesh.h index 0c66838a76c..d62f229fd82 100644 --- a/Mesh_3/include/CGAL/IO/facets_in_complex_3_to_triangle_mesh.h +++ b/Mesh_3/include/CGAL/IO/facets_in_complex_3_to_triangle_mesh.h @@ -69,9 +69,9 @@ void facets_in_complex_3_to_triangle_mesh(const C3T3& c3t3, TriangleMesh& graph) typedef typename C3T3::Facets_in_complex_iterator Ficit; typedef CGAL::Hash_handles_with_or_without_timestamps Hash_fct; - typedef boost::unordered_map VHmap; + typedef boost::unordered_map VHmap; - typedef CGAL::cpp11::array Face; + typedef CGAL::cpp11::array Face; typename std::iterator_traits::difference_type nf = std::distance(c3t3.facets_in_complex_begin(), c3t3.facets_in_complex_end()); @@ -82,7 +82,7 @@ void facets_in_complex_3_to_triangle_mesh(const C3T3& c3t3, TriangleMesh& graph) points.reserve(nf / 2); // approximating Euler VHmap vh_to_ids; - int inum = 0; + std::size_t inum = 0; for(Ficit fit = c3t3.facets_in_complex_begin(), end = c3t3.facets_in_complex_end(); fit != end; ++fit)