summaryrefslogtreecommitdiffstats
path: root/src/configimpl.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/configimpl.l')
-rw-r--r--src/configimpl.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configimpl.l b/src/configimpl.l
index 4443f9c..a4c6c5d 100644
--- a/src/configimpl.l
+++ b/src/configimpl.l
@@ -1737,7 +1737,7 @@ void Config::checkAndCorrect()
}
else if (dotNumThreads<=0)
{
- dotNumThreads=QMAX(2,std::thread::hardware_concurrency()+1);
+ dotNumThreads=std::max(2u,std::thread::hardware_concurrency()+1);
}
Config_updateInt(DOT_NUM_THREADS,dotNumThreads);