Remove unused FX_NEW definition.
[pdfium.git] / core / include / fxcrt / fx_memory.h
index 7884d6b..4116e17 100644 (file)
@@ -24,8 +24,7 @@ void  FXMEM_DefaultFree(void* pointer, int flags);
 #ifdef __cplusplus
 }
 
-#define FX_NEW new(std::nothrow)
-#define FX_NEW_VECTOR(Pointer, Class, Count) (Pointer = FX_NEW Class[Count])
+#define FX_NEW_VECTOR(Pointer, Class, Count) (Pointer = new Class[Count])
 #define FX_DELETE_VECTOR(Pointer, Class, Count) delete[] Pointer
 
 class CFX_DestructObject