Fix for heap out of space

This commit is contained in:
Maxime Gimeno 2016-05-09 10:46:43 +02:00
parent 5ac3473d96
commit a54b648050
1 changed files with 15 additions and 12 deletions

View File

@ -262,16 +262,19 @@ namespace internal {
template<typename Point> \ template<typename Point> \
RET \ RET \
get(PROP p, const CGAL::Surface_mesh<Point>& sm, \ get(PROP p, const CGAL::Surface_mesh<Point>& sm, \
typename boost::lazy_disable_if< \ const TYPE& x) \
boost::is_const<Point>, internal::Get_graph_traits_of_SM<Point> \
>::type::TYPE x) \
{ return get(get(p, sm), x); } \ { return get(get(p, sm), x); } \
CGAL_SM_INTRINSIC_PROPERTY(boost::uint32_t, boost::vertex_index_t, vertex_descriptor)
CGAL_SM_INTRINSIC_PROPERTY(boost::uint32_t, boost::edge_index_t, edge_descriptor) CGAL_SM_INTRINSIC_PROPERTY(boost::uint32_t, boost::vertex_index_t,
CGAL_SM_INTRINSIC_PROPERTY(boost::uint32_t, boost::halfedge_index_t, halfedge_descriptor) SM_Vertex_index)
CGAL_SM_INTRINSIC_PROPERTY(boost::uint32_t, boost::face_index_t, face_descriptor) CGAL_SM_INTRINSIC_PROPERTY(boost::uint32_t, boost::edge_index_t,
CGAL_SM_INTRINSIC_PROPERTY(Point&, CGAL::vertex_point_t, vertex_descriptor) SM_Edge_index)
CGAL_SM_INTRINSIC_PROPERTY(boost::uint32_t, boost::halfedge_index_t,
SM_Halfedge_index)
CGAL_SM_INTRINSIC_PROPERTY(boost::uint32_t, boost::face_index_t,
SM_Face_index)
CGAL_SM_INTRINSIC_PROPERTY(Point&, CGAL::vertex_point_t, SM_Vertex_index)
#undef CGAL_SM_INTRINSIC_PROPERTY #undef CGAL_SM_INTRINSIC_PROPERTY