mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-04 03:40:07 +00:00
(Fixed a typo in linux code in the last commit)
This commit is contained in:
parent
2d192bed9b
commit
f6873c2273
1 changed files with 2 additions and 2 deletions
|
|
@ -158,8 +158,8 @@ void CPUInformation::initialise() noexcept
|
|||
// Assume CPUs in all sockets have the same number of cores
|
||||
numPhysicalCPUs = getCpuInfo ("cpu cores").getIntValue() * (getCpuInfo ("physical id").getIntValue() + 1);
|
||||
|
||||
if (numPhysicalCpus <= 0)
|
||||
numPhysicalCpus = numLogicalCPUs;
|
||||
if (numPhysicalCPUs <= 0)
|
||||
numPhysicalCPUs = numLogicalCPUs;
|
||||
}
|
||||
|
||||
//==============================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue