|
@@ -2511,7 +2511,7 @@ typedef struct {
|
|
|
#if defined(_SAPP_MACOS) || defined(_SAPP_IOS)
|
|
|
// this is ARC compatible
|
|
|
#if defined(__cplusplus)
|
|
|
- #define _SAPP_CLEAR_ARC_STRUCT(type, item) { item = { }; }
|
|
|
+ #define _SAPP_CLEAR_ARC_STRUCT(type, item) { item = type(); }
|
|
|
#else
|
|
|
#define _SAPP_CLEAR_ARC_STRUCT(type, item) { item = (type) { 0 }; }
|
|
|
#endif
|