diff --git a/stdex/include/core.h b/stdex/include/core.h index 65416143..c506391c 100644 --- a/stdex/include/core.h +++ b/stdex/include/core.h @@ -88,13 +88,13 @@ #ifndef NDEBUG #include #define stdex_assert(condition, message) \ - do { \ - if (! (condition)) { \ - std::cerr << "Assertion `" #condition "` failed in " << __FILE__ \ - << " line " << __LINE__ << ": " << message << std::endl; \ - std::terminate(); \ - } \ - } while (false) + do { \ + if (! (condition)) { \ + std::cerr << "Assertion `" #condition "` failed in " << __FILE__ \ + << " line " << __LINE__ << ": " << message << std::endl; \ + std::terminate(); \ + } \ + } while (false) #else #define stdex_assert(condition, message) ((void)0) #endif