diff --git a/Polygon_mesh_processing/test/Polygon_mesh_processing/test_pmp_locate.cpp b/Polygon_mesh_processing/test/Polygon_mesh_processing/test_pmp_locate.cpp index 03e74b71eec..3b285fc6a50 100644 --- a/Polygon_mesh_processing/test/Polygon_mesh_processing/test_pmp_locate.cpp +++ b/Polygon_mesh_processing/test/Polygon_mesh_processing/test_pmp_locate.cpp @@ -605,8 +605,7 @@ struct Locate_with_AABB_tree_Tester // 3D typedef typename K::FT FT; typedef typename K::Ray_3 Ray_3; - typedef typename K::Point_3 Point_3; - + typedef typename boost::graph_traits::vertex_descriptor vertex_descriptor; typedef typename boost::graph_traits::halfedge_descriptor halfedge_descriptor; typedef typename boost::graph_traits::face_descriptor face_descriptor; @@ -621,6 +620,7 @@ struct Locate_with_AABB_tree_Tester // 3D typedef CGAL::AABB_face_graph_triangle_primitive AABB_face_graph_primitive; typedef CGAL::AABB_traits AABB_face_graph_traits; + CGAL_assertion_code(typedef typename K::Point_3 Point_3;) CGAL_static_assertion((std::is_same::value)); CGAL::AABB_tree tree_a;