fix(memory): missing parenthesis in NEW_ZERO macro

This commit is contained in:
phaneron 2025-03-31 23:00:38 -04:00
parent 29504272e5
commit 4e116bd69a

View file

@ -11,7 +11,7 @@
#define FREE(ptr) SMemFree(ptr, __FILE__, __LINE__, 0x0)
#define NEW(T, ...) (new (SMemAlloc(sizeof(T), __FILE__, __LINE__, 0)) T(__VA_ARGS__))
#define NEW_ZERO(T, ...) (new (SMemAlloc(sizeof(T), __FILE__, __LINE__, 0x8) T(__VA_ARGS__))
#define NEW_ZERO(T, ...) (new (SMemAlloc(sizeof(T), __FILE__, __LINE__, 0x8)) T(__VA_ARGS__))
#define DEL(ptr) \
do { \
if (ptr) { \