From 057ec9d41ed1d7e0f78b2469c85775db8182bfa6 Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Mon, 9 Jun 2025 10:48:02 +0200 Subject: [PATCH] Anothher fix --- Source/Engine/Platform/Apple/ApplePlatform.h | 1 - Source/Engine/Platform/Base/PlatformBase.h | 8 ++++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Source/Engine/Platform/Apple/ApplePlatform.h b/Source/Engine/Platform/Apple/ApplePlatform.h index 02f6ac347..003cec91a 100644 --- a/Source/Engine/Platform/Apple/ApplePlatform.h +++ b/Source/Engine/Platform/Apple/ApplePlatform.h @@ -65,7 +65,6 @@ public: { __atomic_store_n((volatile int64*)dst, value, __ATOMIC_RELAXED); } - FORCE_INLINE static void Prefetch(void const* ptr) static bool Is64BitPlatform(); static String GetSystemName(); static Version GetSystemVersion(); diff --git a/Source/Engine/Platform/Base/PlatformBase.h b/Source/Engine/Platform/Base/PlatformBase.h index eeaeb879d..40245a3fc 100644 --- a/Source/Engine/Platform/Base/PlatformBase.h +++ b/Source/Engine/Platform/Base/PlatformBase.h @@ -186,7 +186,7 @@ DECLARE_SCRIPTING_TYPE_MINIMAL(PlatformBase); static void BeforeExit(); /// - /// Called after engine exit to shutdown platform service. + /// Called after engine exit to shut down platform service. /// static void Exit(); @@ -243,7 +243,7 @@ public: /// Indicates to the processor that a cache line will be needed in the near future. /// /// The address of the cache line to be loaded. This address is not required to be on a cache line boundary. - static void Prefetch(void const* ptr) = delete; + static void MemoryPrefetch(void const* ptr) = delete; /// /// Sets a 64-bit variable to the specified value as an atomic operation. The function prevents more than one thread from using the same variable simultaneously. @@ -256,7 +256,7 @@ public: /// /// Performs an atomic compare-and-exchange operation on the specified values. The function compares two specified 32-bit values and exchanges with another 32-bit value based on the outcome of the comparison. /// - /// The function compares the dst value with the comperand value. If the dst value is equal to the comperand value, the value value is stored in the address specified by dst. Otherwise, no operation is performed. + /// The function compares the dst value with the comperand value. If the dst value is equal to the comperand value, the value is stored in the address specified by dst. Otherwise, no operation is performed. /// A pointer to the first operand. This value will be replaced with the result of the operation. /// The value to exchange. /// The value to compare to destination. @@ -266,7 +266,7 @@ public: /// /// Performs an atomic compare-and-exchange operation on the specified values. The function compares two specified 64-bit values and exchanges with another 64-bit value based on the outcome of the comparison. /// - /// The function compares the dst value with the comperand value. If the dst value is equal to the comperand value, the value value is stored in the address specified by dst. Otherwise, no operation is performed. + /// The function compares the dst value with the comperand value. If the dst value is equal to the comperand value, the value is stored in the address specified by dst. Otherwise, no operation is performed. /// A pointer to the first operand. This value will be replaced with the result of the operation. /// The value to exchange. /// The value to compare to destination.