add missing const

if non-const was provided, the same map should have been
provided to the tree
This commit is contained in:
Sébastien Loriot 2019-10-11 08:07:21 +02:00
parent 9221290bef
commit 7a233375b2
1 changed files with 1 additions and 1 deletions

View File

@ -215,7 +215,7 @@ public:
struct Primitive_type {
//setting OneFaceGraphPerTree to false transforms the id type into
//std::pair<FD, const FaceGraph*>.
typedef AABB_face_graph_triangle_primitive<P, typename boost::property_map<P,vertex_point_t>::type, CGAL::Tag_false> type;
typedef AABB_face_graph_triangle_primitive<P, typename boost::property_map<P,vertex_point_t>::const_type, CGAL::Tag_false> type;
static
typename IGT_::Triangle_3 datum(const typename type::Id primitive_id) {