summaryrefslogtreecommitdiffstats
path: root/src/dot.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dot.cpp')
-rw-r--r--src/dot.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dot.cpp b/src/dot.cpp
index 6a38a6e..2ffe9c2 100644
--- a/src/dot.cpp
+++ b/src/dot.cpp
@@ -16,6 +16,7 @@
#include <cstdlib>
#include <cassert>
#include <sstream>
+#include <algorithm>
#include "config.h"
#include "dot.h"
@@ -163,7 +164,7 @@ bool DotManager::run() const
}
else
{
- msg("Generating dot graphs using %zu parallel threads...\n",QMIN(numDotRuns+numFilePatchers,m_workers.size()));
+ msg("Generating dot graphs using %zu parallel threads...\n",std::min(numDotRuns+numFilePatchers,m_workers.size()));
}
}
size_t i=1;