another reversal of something that breaks on wasm

This commit is contained in:
Dominic Hamon 2024-07-17 16:39:15 +01:00
parent 299a8b881d
commit 44507bc91f
1 changed files with 2 additions and 3 deletions

View File

@ -558,9 +558,8 @@ int GetNumCPUsImpl() {
int GetNumCPUs() { int GetNumCPUs() {
const int num_cpus = GetNumCPUsImpl(); const int num_cpus = GetNumCPUsImpl();
if (num_cpus < 1) { if (num_cpus < 1) {
PrintErrorAndDie( std::cerr << "Unable to extract number of CPUs. If your platform uses "
"Unable to extract number of CPUs. If your platform uses " "/proc/cpuinfo, custom support may need to be added.\n";
"/proc/cpuinfo, custom support may need to be added.");
} }
return num_cpus; return num_cpus;
} }