mirror of https://github.com/CGAL/cgal
add missing reserve overload for HDS
This commit is contained in:
parent
bd955e57d3
commit
9a4b4a7969
|
|
@ -471,6 +471,15 @@ struct HDS_property_map<vertex_point_t>
|
|||
};
|
||||
};
|
||||
|
||||
template<class T, class I, class A>
|
||||
void reserve(HalfedgeDS_default<T,I,A>& p,
|
||||
typename boost::graph_traits< HalfedgeDS_default<T,I,A> const>::vertices_size_type nv,
|
||||
typename boost::graph_traits< HalfedgeDS_default<T,I,A> const>::edges_size_type ne,
|
||||
typename boost::graph_traits< HalfedgeDS_default<T,I,A> const>::faces_size_type nf)
|
||||
{
|
||||
p.reserve(nv, 2*ne, nf);
|
||||
}
|
||||
|
||||
}// namespace CGAL
|
||||
namespace boost {
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue