Commit bddd06e6 authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

another fix for the updated parallel_for_ implementation

parent d64438dc
...@@ -119,7 +119,7 @@ namespace cv ...@@ -119,7 +119,7 @@ namespace cv
void operator ()(const tbb::blocked_range<int>& range) const void operator ()(const tbb::blocked_range<int>& range) const
{ {
ParallelLoopBodyWrapper::operator()(Range(range.begin(), range.end())); this->ParallelLoopBodyWrapper::operator()(Range(range.begin(), range.end()));
} }
}; };
#elif defined HAVE_GCD #elif defined HAVE_GCD
...@@ -141,9 +141,9 @@ namespace cv ...@@ -141,9 +141,9 @@ namespace cv
void operator ()(int i) const void operator ()(int i) const
{ {
ParallelLoopBody::operator()(Range(i, i + 1)); this->ParallelLoopBodyWrapper::operator()(Range(i, i + 1));
} }
} };
#else #else
typedef ParallelLoopBodyWrapper ProxyLoopBody; typedef ParallelLoopBodyWrapper ProxyLoopBody;
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment