From 5d80cb03f1c9a883bc9030ac5780e5dad25a3b29 Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Fri, 7 Mar 2025 12:35:54 +0100 Subject: [PATCH] Fix compilation issues --- Source/Engine/Platform/Apple/ApplePlatform.cpp | 2 +- Source/Engine/Platform/Linux/LinuxPlatform.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/Engine/Platform/Apple/ApplePlatform.cpp b/Source/Engine/Platform/Apple/ApplePlatform.cpp index 9b3d2f099..bf65042a0 100644 --- a/Source/Engine/Platform/Apple/ApplePlatform.cpp +++ b/Source/Engine/Platform/Apple/ApplePlatform.cpp @@ -142,7 +142,7 @@ String ApplePlatform::GetSystemName() Version ApplePlatform::GetSystemVersion() { NSOperatingSystemVersion version = [[NSProcessInfo processInfo] operatingSystemVersion]; - return Version(version.major, version.majorVersion, version.minorVersion, version.patchVersion); + return Version(version.majorVersion, version.minorVersion, version.patchVersion); } CPUInfo ApplePlatform::GetCPUInfo() diff --git a/Source/Engine/Platform/Linux/LinuxPlatform.cpp b/Source/Engine/Platform/Linux/LinuxPlatform.cpp index fce908756..e38faf135 100644 --- a/Source/Engine/Platform/Linux/LinuxPlatform.cpp +++ b/Source/Engine/Platform/Linux/LinuxPlatform.cpp @@ -2677,7 +2677,7 @@ void LinuxPlatform::Exit() String LinuxPlatform::GetSystemName() { - Dictionary configs = LoadConfigFile(TEXT("/etc/os-release")); + Dictionary configs = Impl::LoadConfigFile(TEXT("/etc/os-release")); String str; if (configs.TryGet(TEXT("NAME"), str)) return str; @@ -2686,7 +2686,7 @@ String LinuxPlatform::GetSystemName() Version LinuxPlatform::GetSystemVersion() { - Dictionary configs = LoadConfigFile(TEXT("/etc/os-release")); + Dictionary configs = Impl::LoadConfigFile(TEXT("/etc/os-release")); String str; Version version; if (configs.TryGet(TEXT("VERSION_ID"), str) && !Version::Parse(str, &version))