some optimizations in godot memory handling
This commit is contained in:
parent
89300b70e7
commit
4e46143499
3 changed files with 14 additions and 14 deletions
|
|
@ -112,13 +112,6 @@ size_t Memory::get_dynamic_mem_usage() {
|
|||
return MemoryPoolDynamic::get_singleton()->get_total_usage();
|
||||
}
|
||||
|
||||
void * operator new(size_t p_size,void *p_pointer,size_t check, const char *p_description) {
|
||||
|
||||
void *failptr=0;
|
||||
ERR_FAIL_COND_V( check < p_size , failptr); /** bug, or strange compiler, most likely */
|
||||
|
||||
return p_pointer;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue