diff --git a/Source/core/SystemInfo.cpp b/Source/core/SystemInfo.cpp index ef705eed1..e519b8c55 100644 --- a/Source/core/SystemInfo.cpp +++ b/Source/core/SystemInfo.cpp @@ -141,9 +141,6 @@ namespace Core { SystemInfo::SystemInfo() : m_HostName(ConstructHostname()) -#ifdef __LINUX__ - , m_lastUpdateCpuStats(0) -#endif { #ifdef __LINUX__ #ifdef __APPLE__ @@ -173,6 +170,7 @@ namespace Core { m_cpuloadavg[0]=info.loads[0]; m_cpuloadavg[1]=info.loads[1]; m_cpuloadavg[2]=info.loads[2]; + m_lastUpdateCpuStats = 0; #endif #endif