Guarded Allocator: add missing operator delete

This resolves warning C4291 on windows.
This commit is contained in:
Jacques Lucke
2020-07-07 11:52:45 +02:00
parent 80fe5e1b15
commit 5761cb9ee2

View File

@@ -243,6 +243,9 @@ void MEM_use_guarded_allocator(void);
void *operator new(size_t /*count*/, void *ptr) \
{ \
return ptr; \
} \
void operator delete(void *, void *) \
{ \
}
/* Needed when type includes a namespace, then the namespace should not be