diff --git a/Packages/Interval_arithmetic/include/CGAL/Static_filters/Orientation_2.h b/Packages/Interval_arithmetic/include/CGAL/Static_filters/Orientation_2.h index f39f8ff82b6..fe2182c519c 100644 --- a/Packages/Interval_arithmetic/include/CGAL/Static_filters/Orientation_2.h +++ b/Packages/Interval_arithmetic/include/CGAL/Static_filters/Orientation_2.h @@ -34,14 +34,33 @@ class SF_Orientation_2 : public K_base::Orientation_2 { typedef typename K_base::Point_2 Point_2; + typedef typename K_base::Vector_2 Vector_2; + typedef typename K_base::Circle_2 Circle_2; + typedef typename K_base::Orientation_2 Base; public: - using Base::operator(); + typedef typename Base::result_type result_type; +#ifndef CGAL_CFG_MATCHING_BUG_6 + using Base::operator(); +#else + result_type + operator()(const Vector_2& u, const Vector_2& v) const + { + return Base::operator()(u,v); + } + + result_type + operator()(const Circle_2& c) const + { + return Base::operator()(c); + } +#endif Orientation operator()(const Point_2 &p, const Point_2 &q, const Point_2 &r) const + { CGAL_PROFILER("Orientation_2 calls");