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:
@@ -53,8 +53,11 @@ namespace opencv_test {
|
||||
namespace ocl {
|
||||
///////////// HOG////////////////////////
|
||||
|
||||
struct RectLess :
|
||||
public std::binary_function<cv::Rect, cv::Rect, bool>
|
||||
#ifdef CV_CXX11
|
||||
struct RectLess
|
||||
#else
|
||||
struct RectLess : public std::binary_function<cv::Rect, cv::Rect, bool>
|
||||
#endif
|
||||
{
|
||||
bool operator()(const cv::Rect& a,
|
||||
const cv::Rect& b) const
|
||||
|
||||
Reference in New Issue
Block a user