diff --git a/HalfedgeDS/include/CGAL/boost/graph/graph_traits_HalfedgeDS_default.h b/HalfedgeDS/include/CGAL/boost/graph/graph_traits_HalfedgeDS_default.h index 05346c0aac7..1f84f085c02 100644 --- a/HalfedgeDS/include/CGAL/boost/graph/graph_traits_HalfedgeDS_default.h +++ b/HalfedgeDS/include/CGAL/boost/graph/graph_traits_HalfedgeDS_default.h @@ -470,7 +470,16 @@ struct HDS_property_map typename T::Point_3, const typename T::Point_3&> const_type; }; }; - + +template +void reserve(HalfedgeDS_default& p, + typename boost::graph_traits< HalfedgeDS_default const>::vertices_size_type nv, + typename boost::graph_traits< HalfedgeDS_default const>::edges_size_type ne, + typename boost::graph_traits< HalfedgeDS_default const>::faces_size_type nf) +{ + p.reserve(nv, 2*ne, nf); +} + }// namespace CGAL namespace boost {