mirror of
https://github.com/opencv/opencv.git
synced 2024-11-28 13:10:12 +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
|
void operator ()() const // run parallel job
|
||||||
{
|
{
|
||||||
cv::Range stripeRange = this->stripeRange();
|
cv::Range range = this->stripeRange();
|
||||||
tbb::parallel_for(tbb::blocked_range<int>(stripeRange.start, stripeRange.end), *this);
|
tbb::parallel_for(tbb::blocked_range<int>(range.start, range.end), *this);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
#elif defined HAVE_CSTRIPES || defined HAVE_OPENMP
|
#elif defined HAVE_CSTRIPES || defined HAVE_OPENMP
|
||||||
|
Loading…
Reference in New Issue
Block a user