Revert "Attempted fix for building with GCC."

This reverts commit a28955e87c.
This commit is contained in:
Oliver Hamlet
2015-06-28 21:02:06 +01:00
parent a28955e87c
commit c18a0ae3a5
+1 -1
View File
@@ -146,7 +146,7 @@ namespace loot {
// Get the number of threads to use.
// hardware_concurrency() may be zero, if so then use only one thread.
unsigned int threadsToUse = std::min((size_t)boost::thread::hardware_concurrency(), plugins.size());
unsigned int threadsToUse = std::min(boost::thread::hardware_concurrency(), plugins.size());
threadsToUse = std::max(threadsToUse, (unsigned)1);
// Divide the plugins up by thread.