diff options
Diffstat (limited to 'src/main_gui.cpp')
| -rw-r--r-- | src/main_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main_gui.cpp b/src/main_gui.cpp index c20ae46..bee4b95 100644 --- a/src/main_gui.cpp +++ b/src/main_gui.cpp | |||
| @@ -202,7 +202,7 @@ static void ParseStartupArguments(int argc, char* argv[]) | |||
| 202 | if (!strProcLimit.empty()) | 202 | if (!strProcLimit.empty()) |
| 203 | { | 203 | { |
| 204 | int n = atoi(strProcLimit.c_str()); | 204 | int n = atoi(strProcLimit.c_str()); |
| 205 | unsigned int nCores = std::thread::hardware_concurrency(); | 205 | unsigned int nCores = AvailableCoreCount(); |
| 206 | if (n < 0) | 206 | if (n < 0) |
| 207 | fprintf(stderr, "Ignoring /genproclimit=%s: not a thread count\n", | 207 | fprintf(stderr, "Ignoring /genproclimit=%s: not a thread count\n", |
| 208 | strProcLimit.c_str()); | 208 | strProcLimit.c_str()); |