Fix windows build warnings
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user