Commit 4ea8488e authored by Martin Heistermann's avatar Martin Heistermann

avoid deprecated/removed stl usage

parent aae21659
......@@ -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