Possibly fix linux build

This commit is contained in:
Sergeanur 2021-01-09 13:24:09 +02:00
parent 2ce925caba
commit 9a145ab15f
2 changed files with 4 additions and 4 deletions

View file

@ -64,12 +64,12 @@ void* operator new[](size_t size)
return base::cMainMemoryManager::Instance()->Allocate(size);
}
void operator delete(void* buf)
void operator delete(void* buf) noexcept
{
base::cMainMemoryManager::Instance()->Free(buf);
}
void operator delete[](void* buf)
void operator delete[](void* buf) noexcept
{
base::cMainMemoryManager::Instance()->Free(buf);
}

View file

@ -35,5 +35,5 @@ namespace base
void* operator new(size_t size);
void* operator new[](size_t size);
void operator delete(void* buf);
void operator delete[](void* buf);
void operator delete(void* buf) noexcept;
void operator delete[](void* buf) noexcept;