From c3854cb656e39e921c4cc70668c67d01b847060b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Wed, 2 Mar 2016 20:10:39 +0100 Subject: [PATCH] fix warnings --- .../internal/Isotropic_remeshing/remesh_impl.h | 4 ++-- .../include/CGAL/Polygon_mesh_processing/remesh.h | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Isotropic_remeshing/remesh_impl.h b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Isotropic_remeshing/remesh_impl.h index 8dc59b42f1e..940a58eaf8e 100644 --- a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Isotropic_remeshing/remesh_impl.h +++ b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Isotropic_remeshing/remesh_impl.h @@ -86,10 +86,10 @@ namespace internal { typedef value_type& reference; typedef boost::read_write_property_map_tag category; - friend bool get(const No_constraint_pmap& map, const key_type& e) { + friend bool get(const No_constraint_pmap& , const key_type& ) { return false; } - friend void put(No_constraint_pmap& map, const key_type& e, const bool is) {} + friend void put(No_constraint_pmap& , const key_type& , const bool ) {} }; template diff --git a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/remesh.h b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/remesh.h index f50dbe8c474..e80180f4892 100644 --- a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/remesh.h +++ b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/remesh.h @@ -229,7 +229,6 @@ void split_long_edges(const EdgeRange& edges , const NamedParameters& np) { typedef PolygonMesh PM; - typedef typename boost::graph_traits::face_descriptor face_descriptor; typedef typename boost::graph_traits::edge_descriptor edge_descriptor; typedef typename boost::graph_traits::vertex_descriptor vertex_descriptor; using boost::choose_pmap;