mirror of
https://github.com/google/benchmark.git
synced 2024-12-26 12:30:14 +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