diff --git a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/remesh_impl.h b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/remesh_impl.h index ac7ee3c647a..3e1eb259c23 100644 --- a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/remesh_impl.h +++ b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/remesh_impl.h @@ -150,8 +150,6 @@ namespace internal { typedef CGAL::AABB_traits Traits; typedef CGAL::AABB_tree AABB_tree; - typedef Status_map_visitor Status_visitor; - public: Incremental_remesher(PolygonMesh& pmesh , VertexPointMap& vpmap @@ -578,13 +576,8 @@ namespace internal { }//end if(collapse_ok) } - Status_visitor visitor(halfedge_status_map_, mesh_); - boost::tuple, - boost::reference_wrapper > - g_with_visitor = CGAL::make_graph_with_visitor(visitor, mesh_); - std::size_t n = PMP::remove_degenerate_faces( - g_with_visitor + mesh_ , PMP::parameters::vertex_point_map(vpmap_) .geom_traits(GeomTraits()));