Fix windows build warnings

This commit is contained in:
Andrey Kamaev
2012-10-22 18:46:26 +04:00
parent 15076f9232
commit 40030d2ca0
4 changed files with 18 additions and 9 deletions

View File

@@ -362,8 +362,8 @@ void cv::setNumThreads( int threads )
else if (pplScheduler == 0 || 1 + pplScheduler->GetNumberOfVirtualProcessors() != (unsigned int)threads)
{
pplScheduler = Concurrency::Scheduler::Create(Concurrency::SchedulerPolicy(2,
Concurrency::PolicyElementKey::MinConcurrency, threads-1,
Concurrency::PolicyElementKey::MaxConcurrency, threads-1));
Concurrency::MinConcurrency, threads-1,
Concurrency::MaxConcurrency, threads-1));
}
#endif