Merge pull request #3561 from georgthegreat:compat-fixes

More fixes for iterators-are-pointers case
pull/3563/head
Alexander Smorkalov 2 years ago committed by GitHub
commit 4c9646c339
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      modules/ximgproc/src/structured_edge_detection.cpp

@ -148,8 +148,9 @@ static cv::Mat rgb2luv(const cv::Mat &src)
lTable[i] = l*maxi;
}
for (int i = 0; i < 40; ++i)
lTable.push_back(*--lTable.end());
for (int i = 0; i < 40; ++i) {
lTable.push_back(*lTable.rbegin());
}
const int nchannels = 3;

Loading…
Cancel
Save