Fix backward compatibility of opencv_core
This commit is contained in:
@@ -312,6 +312,7 @@ int cv::getNumThreads(void)
|
||||
|
||||
void cv::setNumThreads( int threads )
|
||||
{
|
||||
(void)threads;
|
||||
#ifdef HAVE_PARALLEL_FRAMEWORK
|
||||
numThreads = threads;
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user