From 35bbb4c21b33d8f32ca16b8d5dba9c05715f7dbc Mon Sep 17 00:00:00 2001 From: Maxime Gimeno Date: Thu, 1 Aug 2019 10:36:55 +0200 Subject: [PATCH] Fix type --- Surface_mesh/include/CGAL/Surface_mesh/IO.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Surface_mesh/include/CGAL/Surface_mesh/IO.h b/Surface_mesh/include/CGAL/Surface_mesh/IO.h index cc3ca3f50f0..d2ac930c1d1 100644 --- a/Surface_mesh/include/CGAL/Surface_mesh/IO.h +++ b/Surface_mesh/include/CGAL/Surface_mesh/IO.h @@ -434,9 +434,9 @@ generic_print_surface_mesh( std::ostream& out, } typedef typename boost::property_traits::value_type Point_3; typedef typename Kernel_traits::Kernel K; - typename Surface_mesh

::template Property_map::vertex_descriptor, typename K::Vector_3 > vnormals; + typename Surface_mesh

::template Property_map::Vertex_index, typename K::Vector_3 > vnormals; bool has_normals = false; - boost::tie(vnormals, has_normals) = M.template property_map::vertex_descriptor, typename K::Vector_3>("v:normal"); + boost::tie(vnormals, has_normals) = M.template property_map::Vertex_index, typename K::Vector_3>("v:normal"); if(has_normals) { for( VCI vi = vertices(M).begin(); vi != vertices(M).end(); ++vi) {