From baf27bbd6e04b099b4a1dad21150b58d8d315aec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Thu, 4 Oct 2018 10:34:41 +0200 Subject: [PATCH] use const map (non-const map should be convertible to const map in practice) --- AABB_tree/include/CGAL/AABB_face_graph_triangle_primitive.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/AABB_tree/include/CGAL/AABB_face_graph_triangle_primitive.h b/AABB_tree/include/CGAL/AABB_face_graph_triangle_primitive.h index 83e01c72d6c..7283f77095a 100644 --- a/AABB_tree/include/CGAL/AABB_face_graph_triangle_primitive.h +++ b/AABB_tree/include/CGAL/AABB_face_graph_triangle_primitive.h @@ -70,17 +70,17 @@ class AABB_face_graph_triangle_primitive FaceGraph, typename Default::Get::type >::type>, + vertex_point_t>::const_type >::type>, One_point_from_face_descriptor_map< FaceGraph, typename Default::Get::type >::type>, + vertex_point_t>::const_type >::type>, OneFaceGraphPerTree, CacheDatum > #endif { - typedef typename Default::Get::type >::type VertexPointPMap_; + typedef typename Default::Get::const_type >::type VertexPointPMap_; typedef typename boost::graph_traits::face_descriptor Id_; typedef Triangle_from_face_descriptor_map Triangle_property_map;