diff --git a/Surface_mesh/include/CGAL/Surface_mesh/IO/PLY.h b/Surface_mesh/include/CGAL/Surface_mesh/IO/PLY.h index 6fb38dc66d7..ed2bc63b710 100644 --- a/Surface_mesh/include/CGAL/Surface_mesh/IO/PLY.h +++ b/Surface_mesh/include/CGAL/Surface_mesh/IO/PLY.h @@ -472,7 +472,7 @@ bool fill_simplex_specific_header(std::ostream& os, { auto vnm = get_parameter(np, internal_np::vertex_normal_map); typedef decltype(vnm) Normal_map; - typedef Kernel_traits::Kernel::FT FloatDouble; + typedef typename Kernel_traits::Kernel::FT FloatDouble; if(std::is_same::value) { os << "property float nx" << std::endl