From b4f41e9e69c3cc58aa06200caf83a12b714bf147 Mon Sep 17 00:00:00 2001 From: zhenyan121 <3367366583@qq.com> Date: Thu, 12 Mar 2026 15:47:39 +0800 Subject: [PATCH] fix: macro expansion error in release builds --- include/Cubed/tools/cubed_assert.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/Cubed/tools/cubed_assert.hpp b/include/Cubed/tools/cubed_assert.hpp index d12f8b1..2b5ec4b 100644 --- a/include/Cubed/tools/cubed_assert.hpp +++ b/include/Cubed/tools/cubed_assert.hpp @@ -18,7 +18,7 @@ namespace Assert { #ifdef NDEBUG #define CUBED_ASSERT(cond) ((void)0) -#define CUBED_ASSERT_MSG(cond) ((void)0) +#define CUBED_ASSERT_MSG(cond, message) ((void)0) #else #define CUBED_ASSERT(cond) \ do { \