mirror of
https://github.com/opencv/opencv.git
synced 2025-08-05 22:19:14 +08:00
tbb: fix build warnings -Wshadow
This commit is contained in:
parent
6a15910f0f
commit
854ab48de0
@ -379,8 +379,8 @@ namespace
|
||||
|
||||
void operator ()() const // run parallel job
|
||||
{
|
||||
cv::Range stripeRange = this->stripeRange();
|
||||
tbb::parallel_for(tbb::blocked_range<int>(stripeRange.start, stripeRange.end), *this);
|
||||
cv::Range range = this->stripeRange();
|
||||
tbb::parallel_for(tbb::blocked_range<int>(range.start, range.end), *this);
|
||||
}
|
||||
};
|
||||
#elif defined HAVE_CSTRIPES || defined HAVE_OPENMP
|
||||
|
Loading…
Reference in New Issue
Block a user