1
0
Fork 0
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:
jules 2017-03-13 12:10:47 +00:00
parent 2d192bed9b
commit f6873c2273

View file

@ -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;
}
//==============================================================================