diff --git a/amxmodx/modules.cpp b/amxmodx/modules.cpp index f2761191..d254df6d 100755 --- a/amxmodx/modules.cpp +++ b/amxmodx/modules.cpp @@ -1783,23 +1783,23 @@ void EnableDebugHandler(AMX *amx) } #if !defined MEMORY_TEST && !defined WIN32 -void * ::operator new(size_t size) +void * operator new(size_t size) { return (calloc(1, size)); } -void * ::operator new[](size_t size) +void * operator new[](size_t size) { return (calloc(1, size)); } -void ::operator delete(void * ptr) +void operator delete(void * ptr) { if (ptr) free(ptr); } -void ::operator delete[](void * ptr) +void operator delete[](void * ptr) { if (ptr) free(ptr);