mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-23 17:20:00 +00:00
Allocator fix
This commit is contained in:
parent
ecdd751ec3
commit
5fb3edf258
|
@ -54,12 +54,12 @@ namespace base
|
|||
}
|
||||
};
|
||||
|
||||
void* operator new(uint32 size)
|
||||
void* operator new(size_t size)
|
||||
{
|
||||
return base::cMainMemoryManager::Instance()->Allocate(size);
|
||||
}
|
||||
|
||||
void* operator new[](uint32 size)
|
||||
void* operator new[](size_t size)
|
||||
{
|
||||
return base::cMainMemoryManager::Instance()->Allocate(size);
|
||||
}
|
||||
|
|
|
@ -33,7 +33,7 @@ namespace base
|
|||
};
|
||||
}
|
||||
|
||||
void* operator new(uint32 size);
|
||||
void* operator new[](uint32 size);
|
||||
void* operator new(size_t size);
|
||||
void* operator new[](size_t size);
|
||||
void operator delete(void* buf);
|
||||
void operator delete[](void* buf);
|
Loading…
Reference in a new issue