diff --git a/Surface_mesh_topology/include/CGAL/draw_face_graph_with_paths.h b/Surface_mesh_topology/include/CGAL/draw_face_graph_with_paths.h index cea1c61faae..79ba01fedd0 100644 --- a/Surface_mesh_topology/include/CGAL/draw_face_graph_with_paths.h +++ b/Surface_mesh_topology/include/CGAL/draw_face_graph_with_paths.h @@ -284,22 +284,17 @@ void compute_elements(const Mesh &mesh, typedef typename Get_map::type LCC; typedef typename LCC::size_type size_type; - typedef typename CGAL::Get_traits::Kernel Kernel; - typedef typename CGAL::Get_traits::Point Point; - typedef typename CGAL::Get_traits::Vector Vector; - typedef typename LCC::Dart_const_descriptor Dart_const_descriptor; - typename Get_map::storage_type lcc(mesh); - typename LCC::size_type oriented_mark = lcc.get_new_mark(); + size_type oriented_mark = lcc.get_new_mark(); std::size_t current_path = paths.size(); typename LCC::size_type amark=mark==(std::numeric_limits::max)()? LCC::INVALID_MARK:mark; // If !=INVALID_MARK, show darts marked with this mark lcc.orient(oriented_mark); - typename LCC::size_type markfaces = lcc.get_new_mark(); - typename LCC::size_type markedges = lcc.get_new_mark(); - typename LCC::size_type markvertices = lcc.get_new_mark(); + size_type markfaces = lcc.get_new_mark(); + size_type markedges = lcc.get_new_mark(); + size_type markvertices = lcc.get_new_mark(); if (current_path==paths.size()) {