mirror of
https://github.com/halpz/re3.git
synced 2024-12-25 18:05:27 +00:00
Possibly fix linux build
This commit is contained in:
parent
2ce925caba
commit
9a145ab15f
|
@ -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);
|
||||
}
|
|
@ -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;
|
Loading…
Reference in a new issue