diff --git a/include/sta/assert.hpp b/include/sta/assert.hpp index c695d3b..a3aa2a8 100644 --- a/include/sta/assert.hpp +++ b/include/sta/assert.hpp @@ -149,6 +149,9 @@ namespace sta */ # define STA_ASSERT_COND_MSG(cond, expr, msg) ( (void)( (cond) ? STA_ASSERT_MSG(expr, msg) ) ) + +# define STA_ASSERT_EXTRA(expr) expr; + #else // !STA_ASSERT_ENABLE # define STA_ASSERT(expr) ((void)0) @@ -156,6 +159,8 @@ namespace sta # define STA_ASSERT_COND(cond, expr) ((void)0) # define STA_ASSERT_COND_MSG(cond, expr, msg) ((void)0) +# define STA_ASSERT_EXTRA(expr) ((void)0) + #endif // !STA_ASSERT_ENABLE