From dc0bd92913648910e35328cdaf3e992c91bd0e74 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Fri, 15 May 2015 13:50:07 -0700 Subject: Remove FX_NEW_VECTOR() macros. There isn't much point in having macros that obscure obvious language features. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1135273004 --- core/include/fxcrt/fx_memory.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'core/include') diff --git a/core/include/fxcrt/fx_memory.h b/core/include/fxcrt/fx_memory.h index 4116e17450..25d82f69b7 100644 --- a/core/include/fxcrt/fx_memory.h +++ b/core/include/fxcrt/fx_memory.h @@ -24,9 +24,6 @@ void FXMEM_DefaultFree(void* pointer, int flags); #ifdef __cplusplus } -#define FX_NEW_VECTOR(Pointer, Class, Count) (Pointer = new Class[Count]) -#define FX_DELETE_VECTOR(Pointer, Class, Count) delete[] Pointer - class CFX_DestructObject { public: -- cgit v1.2.3