Merge pull request #680 from sloriot/SMS-boost_1.60

Surface mesh segmentation: boost 1.60 compatibility
This commit is contained in:
Sebastien Loriot 2016-01-27 13:39:12 +01:00
commit 49e7ea6f58
1 changed files with 4 additions and 8 deletions

View File

@ -45,10 +45,8 @@ public:
// activate functions below if K::FT is floating point and fast_bbox_intersection = true
template <class K>
typename boost::enable_if<
boost::type_traits::ice_and<
boost::is_floating_point<typename K::FT>::value,
fast_bbox_intersection>,
typename boost::enable_if_c<
boost::is_floating_point<typename K::FT>::value && fast_bbox_intersection,
bool >::type
operator()(const CGAL::Segment_3<K>& segment, const Bounding_box& bbox) const {
const Point_3& p = segment.source();
@ -65,10 +63,8 @@ public:
}
template <class K>
typename boost::enable_if<
boost::type_traits::ice_and<
boost::is_floating_point<typename K::FT>::value,
fast_bbox_intersection>,
typename boost::enable_if_c<
boost::is_floating_point<typename K::FT>::value && fast_bbox_intersection,
bool >::type
operator()(const CGAL::Ray_3<K>& ray, const Bounding_box& bbox) const {
const Point_3& p = ray.source();