From 1e6f408f2f76d65716f2b02f05f4d21e55b8b2d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Wed, 7 Nov 2018 11:03:04 +0100 Subject: [PATCH] fix errors and warnings --- .../include/CGAL/Variational_shape_approximation.h | 2 +- .../test/Surface_mesh_approximation/vsa_segmentation_test.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Surface_mesh_approximation/include/CGAL/Variational_shape_approximation.h b/Surface_mesh_approximation/include/CGAL/Variational_shape_approximation.h index 089d0fbc2a7..b2f011c417d 100644 --- a/Surface_mesh_approximation/include/CGAL/Variational_shape_approximation.h +++ b/Surface_mesh_approximation/include/CGAL/Variational_shape_approximation.h @@ -913,7 +913,7 @@ public: * @param[out] face_proxy_map face proxy index map */ template - void proxy_map(FaceProxyMap &face_proxy_map) const { + void proxy_map(FaceProxyMap face_proxy_map) const { BOOST_FOREACH(face_descriptor f, faces(*m_ptm)) face_proxy_map[f] = get(m_fproxy_map, f); } diff --git a/Surface_mesh_approximation/test/Surface_mesh_approximation/vsa_segmentation_test.cpp b/Surface_mesh_approximation/test/Surface_mesh_approximation/vsa_segmentation_test.cpp index ff1a9ac3474..2ec70d858a6 100644 --- a/Surface_mesh_approximation/test/Surface_mesh_approximation/vsa_segmentation_test.cpp +++ b/Surface_mesh_approximation/test/Surface_mesh_approximation/vsa_segmentation_test.cpp @@ -10,7 +10,7 @@ typedef CGAL::Exact_predicates_inexact_constructions_kernel Kernel; typedef CGAL::Surface_mesh Mesh; -typedef typename boost::graph_traits::face_descriptor face_descriptor; +typedef boost::graph_traits::face_descriptor face_descriptor; typedef Mesh::Property_map Face_proxy_pmap; /**