build: eliminate calls of removed functionality from C++17

Most part is deprecated since C++11
This commit is contained in:
Alexander Alekhin
2018-02-06 19:05:34 +03:00
parent f77f2876ff
commit 44d7435a48
11 changed files with 63 additions and 12 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ static vector<Point> simpleContour( const Mat& currentQuery, int n=300 )
}
// Uniformly sampling
random_shuffle(contoursQuery.begin(), contoursQuery.end());
cv::randShuffle(contoursQuery);
vector<Point> cont;
for (int i=0; i<n; i++)
{