Commit d1b83291 authored by Jan Möbius's avatar Jan Möbius
Browse files

Merge branch 'fix_cpp17_binary_function' into 'master'

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

See merge request !169
parents 35baa568 feb9f5d2
......@@ -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));
Markdown is supported
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