Fix Platform::GetCacheLineSize to be deprecated in favor of existing CPUInfo.CacheLineSize`

This commit is contained in:
Wojtek Figat
2025-03-06 09:08:00 +01:00
parent 772f7f7fd2
commit cc7d88d4a9
10 changed files with 7 additions and 25 deletions

View File

@@ -380,9 +380,10 @@ public:
/// <summary>
/// Gets the CPU cache line size.
/// [Deprecated in v1.10]
/// </summary>
/// <returns>The cache line size.</returns>
API_PROPERTY() static int32 GetCacheLineSize() = delete;
API_PROPERTY() DEPRECATED("Use CPUInfo.CacheLineSize instead") static int32 GetCacheLineSize();
/// <summary>
/// Gets the current memory stats.