mirror of
https://github.com/opencv/opencv.git
synced 2024-11-24 19:20:28 +08:00
Merge pull request #11271 from alalek:tbb_build_warning
This commit is contained in:
commit
b82bec88d9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user