Merge pull request #11271 from alalek:tbb_build_warning

This commit is contained in:
Alexander Alekhin 2018-04-09 15:53:26 +00:00
commit b82bec88d9

View File

@ -381,8 +381,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