Skip to content

Commit

Permalink
Remove last QThread-Reference
Browse files Browse the repository at this point in the history
  • Loading branch information
cmorty committed Mar 21, 2020
1 parent 9ab5f68 commit 475b4d7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/configimpl.l
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 475b4d7

Please sign in to comment.