remove deprecated std::binary_function
This commit is contained in:
@@ -62,7 +62,7 @@ public:
|
||||
};
|
||||
|
||||
template<class T>
|
||||
struct TopoDSLess : public std::binary_function<T, T, bool> {
|
||||
struct TopoDSLess {
|
||||
bool operator()(const T& x, const T& y) const {
|
||||
return x.HashCode(INT_MAX-1) < y.HashCode(INT_MAX-1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user