mirror of
https://github.com/GTAmodding/re3.git
synced 2024-12-01 22:45:41 +00:00
Possibly fix linux build
This commit is contained in:
parent
2ce925caba
commit
9a145ab15f
2 changed files with 4 additions and 4 deletions
|
@ -64,12 +64,12 @@ void* operator new[](size_t size)
|
||||||
return base::cMainMemoryManager::Instance()->Allocate(size);
|
return base::cMainMemoryManager::Instance()->Allocate(size);
|
||||||
}
|
}
|
||||||
|
|
||||||
void operator delete(void* buf)
|
void operator delete(void* buf) noexcept
|
||||||
{
|
{
|
||||||
base::cMainMemoryManager::Instance()->Free(buf);
|
base::cMainMemoryManager::Instance()->Free(buf);
|
||||||
}
|
}
|
||||||
|
|
||||||
void operator delete[](void* buf)
|
void operator delete[](void* buf) noexcept
|
||||||
{
|
{
|
||||||
base::cMainMemoryManager::Instance()->Free(buf);
|
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 new[](size_t size);
|
void* operator new[](size_t size);
|
||||||
void operator delete(void* buf);
|
void operator delete(void* buf) noexcept;
|
||||||
void operator delete[](void* buf);
|
void operator delete[](void* buf) noexcept;
|
Loading…
Reference in a new issue