fix compilation for msvc2013

This commit is contained in:
Jane Tournois 2015-02-10 14:30:19 +01:00
parent fdfccf482e
commit c58943c509
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@ class Polygon_mesh_slicer
);
typename cpp11::result_of<typename Traits_::Intersect_3(Plane_3, Segment_3)>::type
inter = intersect_3(m_plane, s);
CGAL_assertion( inter );
CGAL_assertion(inter != boost::none);
const Point_3* pt_ptr = boost::get<Point_3>(&(*inter));
current_poly.push_back( *pt_ptr );
}