mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 23:33:05 +04:00
build: eliminate calls of removed functionality from C++17
Most part is deprecated since C++11
This commit is contained in:
@@ -462,7 +462,11 @@ namespace cvtest
|
||||
return false;
|
||||
}
|
||||
|
||||
#ifdef CV_CXX11
|
||||
struct KeyPointLess
|
||||
#else
|
||||
struct KeyPointLess : std::binary_function<cv::KeyPoint, cv::KeyPoint, bool>
|
||||
#endif
|
||||
{
|
||||
bool operator()(const cv::KeyPoint& kp1, const cv::KeyPoint& kp2) const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user