diff options
Diffstat (limited to 'basegfx')
-rw-r--r-- | basegfx/source/workbench/convexhull.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/basegfx/source/workbench/convexhull.cxx b/basegfx/source/workbench/convexhull.cxx index 3e728777ace8..dda785668866 100644 --- a/basegfx/source/workbench/convexhull.cxx +++ b/basegfx/source/workbench/convexhull.cxx @@ -18,7 +18,6 @@ */ #include <algorithm> -#include <functional> #include <vector> #include "bezierclip.hxx" @@ -43,7 +42,7 @@ template <class PointType> double theta( const PointType& p1, const PointType& p /* Model of LessThanComparable for theta sort. * Uses the theta function from Sedgewick: Algorithms in XXX, chapter 24 */ -template <class PointType> class ThetaCompare : public std::binary_function< const PointType&, const PointType&, bool > +template <class PointType> class ThetaCompare { public: explicit ThetaCompare( const PointType& rRefPoint ) : maRefPoint( rRefPoint ) {} |