diff options
Diffstat (limited to 'intern/guardedalloc/MEM_guardedalloc.h')
-rw-r--r-- | intern/guardedalloc/MEM_guardedalloc.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/intern/guardedalloc/MEM_guardedalloc.h b/intern/guardedalloc/MEM_guardedalloc.h index aebde0a6425..0b32596b36c 100644 --- a/intern/guardedalloc/MEM_guardedalloc.h +++ b/intern/guardedalloc/MEM_guardedalloc.h @@ -256,12 +256,6 @@ public: \ ((type*)(what))->~type(); \ MEM_freeN(what); \ } } (void)0 -#define OBJECT_GUARDED_DELETE_ARRAY(what, type, count) \ - { if(what) { \ - for (int i = 0; i < count; i++) ((type*)(what))[i].~type(); \ - MEM_freeN(what); \ - } } (void)0 - #endif /* __cplusplus */ #ifdef __cplusplus |