don't reinvent the wheel

This commit is contained in:
Sébastien Loriot 2021-03-10 14:01:55 +01:00
parent ac708f6625
commit 3614dee0fb
1 changed files with 1 additions and 13 deletions

View File

@ -432,21 +432,9 @@ public:
CGAL::SMALLER : CGAL::LARGER;
}
template <typename GT, bool HasTag = internal::Has_nested_type_Has_static_filters<GeomTraits>::value>
struct Use_conservative_static_filters
{
typedef CGAL::Tag_false type;
};
template <typename GT>
struct Use_conservative_static_filters<GT, true>
{
typedef CGAL::Boolean_tag<GT::Has_static_filters> type;
};
CGAL::Comparison_result operator()(const Point& p, const Bounding_box& bb, const Point& bound) const
{
return (*this)(p, bb, bound, typename Use_conservative_static_filters<GeomTraits>::type());
return (*this)(p, bb, bound, CGAL::Boolean_tag<internal::Has_static_filters<GeomTraits>::value>());
}
template <class Solid>