mirror of
https://github.com/google/benchmark.git
synced 2024-12-25 20:10:13 +08:00
another reversal of something that breaks on wasm
This commit is contained in:
parent
299a8b881d
commit
44507bc91f
@ -558,9 +558,8 @@ int GetNumCPUsImpl() {
|
||||
int GetNumCPUs() {
|
||||
const int num_cpus = GetNumCPUsImpl();
|
||||
if (num_cpus < 1) {
|
||||
PrintErrorAndDie(
|
||||
"Unable to extract number of CPUs. If your platform uses "
|
||||
"/proc/cpuinfo, custom support may need to be added.");
|
||||
std::cerr << "Unable to extract number of CPUs. If your platform uses "
|
||||
"/proc/cpuinfo, custom support may need to be added.\n";
|
||||
}
|
||||
return num_cpus;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user