mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 15:53:03 +04:00
build: eliminate calls of removed functionality from C++17
Most part is deprecated since C++11
This commit is contained in:
@@ -56,8 +56,11 @@ enum { MINEIGENVAL=0, HARRIS=1, EIGENVALSVECS=2 };
|
||||
|
||||
/////////////////////ref//////////////////////
|
||||
|
||||
struct greaterThanPtr :
|
||||
public std::binary_function<const float *, const float *, bool>
|
||||
#ifdef CV_CXX11
|
||||
struct greaterThanPtr
|
||||
#else
|
||||
struct greaterThanPtr : public std::binary_function<const float *, const float *, bool>
|
||||
#endif
|
||||
{
|
||||
bool operator () (const float * a, const float * b) const
|
||||
{ return *a > *b; }
|
||||
|
||||
Reference in New Issue
Block a user