summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMoritz 'Morty' Strübe <moritz.struebe@redheads.de>2020-03-20 09:11:24 (GMT)
committerMoritz 'Morty' Strübe <moritz.struebe@redheads.de>2020-03-21 10:31:58 (GMT)
commit475b4d7388cfc408fed097d80521db289c4522b9 (patch)
tree6c304a68b7e97e572e8f2d9902f8e9483bbb7d27
parent9ab5f68756f1555a805dda5d0215d275d3db8725 (diff)
downloadDoxygen-475b4d7388cfc408fed097d80521db289c4522b9.zip
Doxygen-475b4d7388cfc408fed097d80521db289c4522b9.tar.gz
Doxygen-475b4d7388cfc408fed097d80521db289c4522b9.tar.bz2
Remove last QThread-Reference
-rw-r--r--src/configimpl.l6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/configimpl.l b/src/configimpl.l
index 055304d..39f60e4 100644
--- a/src/configimpl.l
+++ b/src/configimpl.l
@@ -33,8 +33,8 @@
#include <qregexp.h>
#include <qstack.h>
#include <qglobal.h>
-#include <qthread.h>
-
+#include <thread>
+
#include "configimpl.h"
#include "version.h"
#include "portable.h"
@@ -1681,7 +1681,7 @@ void Config::checkAndCorrect()
}
else if (dotNumThreads<=0)
{
- dotNumThreads=QMAX(2,QThread::idealThreadCount()+1);
+ dotNumThreads=QMAX(2,std::thread::hardware_concurrency()+1);
}
// check dot path