From 5bdf4dc74e29a8b82f5f82508faf1e07fd2ed93c Mon Sep 17 00:00:00 2001 From: Damian Korczowski Date: Sun, 21 Feb 2021 14:44:47 +0100 Subject: [PATCH] Fix Unix platform --- Source/Engine/Platform/Unix/UnixPlatform.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Engine/Platform/Unix/UnixPlatform.cpp b/Source/Engine/Platform/Unix/UnixPlatform.cpp index 8cda61cc8..cb734bfcd 100644 --- a/Source/Engine/Platform/Unix/UnixPlatform.cpp +++ b/Source/Engine/Platform/Unix/UnixPlatform.cpp @@ -51,7 +51,7 @@ void UnixPlatform::Free(void* ptr) } } -void* Win32Platform::AllocatePages(uint64 numPages, uint64 pageSize) +void* UnixPlatform::AllocatePages(uint64 numPages, uint64 pageSize) { const uint64 numBytes = numPages * pageSize; @@ -59,7 +59,7 @@ void* Win32Platform::AllocatePages(uint64 numPages, uint64 pageSize) return malloc(numBytes); } -void Win32Platform::FreePages(void* ptr) +void UnixPlatform::FreePages(void* ptr) { // Fallback to free free(ptr);