Commit feb9f5d2 authored by Martin Heistermann's avatar Martin Heistermann
Browse files

BSPImplT: avoid std::binary_function,it is deprecated in c++11 and removed in 17

parent 8c473723
......@@ -200,7 +200,7 @@ private: //---------------------------------------------------------------------
void _intersect_ball(const Node& _node, const Point & _c, Scalar _r, Callback _callback) const;
template<typename T,typename U>
struct less_pair_second: public std::binary_function<T,U,bool> {
struct less_pair_second {
bool operator()(const std::pair<T,U> &left, const std::pair<T,U> &right) {
return (fabs(left.second) < fabs(right.second));
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment