From 4d1efe18b8c57382cf979f34a042796612ff8ed3 Mon Sep 17 00:00:00 2001 From: Simon Giraudot Date: Wed, 24 Apr 2019 10:30:03 +0200 Subject: [PATCH] Fix error/warnings --- Surface_mesh/include/CGAL/Surface_mesh/IO/PLY.h | 2 +- .../include/CGAL/Surface_mesh/Surface_mesh.h | 15 --------------- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/Surface_mesh/include/CGAL/Surface_mesh/IO/PLY.h b/Surface_mesh/include/CGAL/Surface_mesh/IO/PLY.h index f4a9cb8bb63..22df1ab8f9a 100644 --- a/Surface_mesh/include/CGAL/Surface_mesh/IO/PLY.h +++ b/Surface_mesh/include/CGAL/Surface_mesh/IO/PLY.h @@ -37,7 +37,7 @@ class Surface_mesh_filler public: typedef typename Kernel_traits::Kernel Kernel; typedef typename Kernel::Vector_3 Vector; - typedef Surface_mesh Surface_mesh; + typedef CGAL::Surface_mesh Surface_mesh; typedef typename Surface_mesh::Vertex_index Vertex_index; typedef typename Surface_mesh::Face_index Face_index; typedef typename Surface_mesh::Edge_index Edge_index; diff --git a/Surface_mesh/include/CGAL/Surface_mesh/Surface_mesh.h b/Surface_mesh/include/CGAL/Surface_mesh/Surface_mesh.h index a499b6ca71e..25a56f4126e 100644 --- a/Surface_mesh/include/CGAL/Surface_mesh/Surface_mesh.h +++ b/Surface_mesh/include/CGAL/Surface_mesh/Surface_mesh.h @@ -2185,26 +2185,11 @@ private: //------------------------------------------------------- private data bool write_ply(std::ostream& os, const Surface_mesh

& sm, const std::string& comments = std::string()) { typedef Surface_mesh

SMesh; - typedef typename Kernel_traits

::Kernel K; - typedef typename K::Vector_3 Vector; typedef typename SMesh::Vertex_index VIndex; typedef typename SMesh::Face_index FIndex; typedef typename SMesh::Edge_index EIndex; typedef typename SMesh::Halfedge_index HIndex; - typedef typename SMesh::template Property_map Fcolor_map; - - typedef typename SMesh::template Property_map Int8_map_f; - typedef typename SMesh::template Property_map Uint8_map_f; - typedef typename SMesh::template Property_map Int16_map_f; - typedef typename SMesh::template Property_map Uint16_map_f; - typedef typename SMesh::template Property_map Int32_map_f; - typedef typename SMesh::template Property_map Uint32_map_f; - typedef typename SMesh::template Property_map Int64_map_f; - typedef typename SMesh::template Property_map Uint64_map_f; - typedef typename SMesh::template Property_map Float_map_f; - typedef typename SMesh::template Property_map Double_map_f; - os << "ply" << std::endl << ((get_mode(os) == IO::BINARY) ? "format binary_little_endian 1.0" : "format ascii 1.0") << std::endl << "comment Generated by the CGAL library" << std::endl;