diff --git a/Mesh_3/include/CGAL/Polyhedral_mesh_domain_3.h b/Mesh_3/include/CGAL/Polyhedral_mesh_domain_3.h index 79dc3710024..5bbc43da85d 100644 --- a/Mesh_3/include/CGAL/Polyhedral_mesh_domain_3.h +++ b/Mesh_3/include/CGAL/Polyhedral_mesh_domain_3.h @@ -474,13 +474,10 @@ class Polyhedral_mesh_domain_3 bool self_intersection = false; if (r_domain_.self_intersections_pmap_ != boost::none) { - auto f = primitive_id.first; - boost::graph_traits::face_descriptor fd = f; - boost::property_map >::type si_pmap = r_domain_.self_intersections_pmap_.get(); - self_intersection = get(si_pmap, fd); + self_intersection = get(si_pmap, primitive_id.first); } // intersection may be either a point or a segment