diff --git a/Convex_hull_3/include/CGAL/convexity_check_3.h b/Convex_hull_3/include/CGAL/convexity_check_3.h index 929001806cc..cd18bf1d394 100644 --- a/Convex_hull_3/include/CGAL/convexity_check_3.h +++ b/Convex_hull_3/include/CGAL/convexity_check_3.h @@ -187,15 +187,15 @@ bool is_strongly_convex_3(const Polyhedron& P, const Traits& traits) } template -bool CGAL_is_strongly_convex_3(Polyhedron& P, Point_3*) +bool CGAL_is_strongly_convex_3(const Polyhedron& P, Point_3*) { return is_strongly_convex_3(P, R()); } template -bool is_strongly_convex_3(Polyhedron& P) +bool is_strongly_convex_3(const Polyhedron& P) { - typedef typename boost::property_map::type Ppmap; + typedef typename boost::property_map::const_type Ppmap; typedef typename boost::property_traits::value_type Point_3; return CGAL_is_strongly_convex_3(P, reinterpret_cast(0)); @@ -204,7 +204,7 @@ bool is_strongly_convex_3(Polyhedron& P) template bool all_points_inside( ForwardIterator first, ForwardIterator last, - Polyhedron& P, + const Polyhedron& P, const Traits& traits) { typedef typename Traits::Plane_3 Plane_3;