Fix backward compatibility of opencv_core

This commit is contained in:
Andrey Kamaev
2012-10-15 19:30:18 +04:00
parent d566c6bc86
commit ebac3a02aa
10 changed files with 563 additions and 602 deletions

View File

@@ -312,6 +312,7 @@ int cv::getNumThreads(void)
void cv::setNumThreads( int threads )
{
(void)threads;
#ifdef HAVE_PARALLEL_FRAMEWORK
numThreads = threads;
#endif