diff --git a/BGL/include/CGAL/boost/graph/graph_traits_Surface_mesh.h b/BGL/include/CGAL/boost/graph/graph_traits_Surface_mesh.h
index ec7a2b49f7d..0ea114d9fa1 100644
--- a/BGL/include/CGAL/boost/graph/graph_traits_Surface_mesh.h
+++ b/BGL/include/CGAL/boost/graph/graph_traits_Surface_mesh.h
@@ -426,8 +426,13 @@ add_vertex(CGAL::Surface_mesh
& sm) {
return sm.add_vertex();
}
- /*
+template
+typename boost::graph_traits >::vertex_descriptor
+add_vertex(const typename boost::graph_traits >::vertex_property_type& p, CGAL::Surface_mesh& sm) {
+ return sm.add_vertex(p);
+}
+/*
// MutableGraph
// add a vertex with a default constructed property
template
@@ -436,12 +441,6 @@ add_vertex(CGAL::Surface_mesh& sm) {
return sm.add_vertex(typename boost::graph_traits >::vertex_property_type());
}
-template
-typename boost::graph_traits >::vertex_descriptor
-add_vertex(const typename boost::graph_traits >::vertex_property_type& p, CGAL::Surface_mesh& sm) {
- return sm.add_vertex(p);
-}
-
template
void
clear_vertex(typename boost::graph_traits >::vertex_descriptor,
@@ -496,17 +495,6 @@ remove_face(typename boost::graph_traits >::face_descripto
sm.remove_face(f);
}
-
- /* AF: why a bool??
-template
-std::pair >::edge_descriptor,
- bool>
-add_edge(typename boost::graph_traits >::vertex_descriptor v1,
- typename boost::graph_traits >::vertex_descriptor v2,
- CGAL::Surface_mesh& sm) {
-}
- */
-
template
typename boost::graph_traits >::face_descriptor
add_face(CGAL::Surface_mesh& sm)