added braces to try_assert

This commit is contained in:
Timerix 2025-10-26 14:17:25 +05:00
parent f0992c0217
commit a0affaa6d0

View File

@ -93,4 +93,4 @@ typedef struct Result_ {
}\ }\
} while(0) } while(0)
#define try_assert(EXPR) if(!(EXPR)) Return RESULT_ERROR((#EXPR), false) #define try_assert(EXPR) if(!(EXPR)) { Return RESULT_ERROR((#EXPR), false); }