diff options
Diffstat (limited to 'util/system/yassert.h')
-rw-r--r-- | util/system/yassert.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/util/system/yassert.h b/util/system/yassert.h index 529823440c..2194a90b76 100644 --- a/util/system/yassert.h +++ b/util/system/yassert.h @@ -101,13 +101,13 @@ namespace NPrivate { ::NPrivate::Panic(__SOURCE_FILE_IMPL__, __LINE__, __FUNCTION__, #expr, " " __VA_ARGS__); \ } \ } while (false) - + #define Y_FAIL(...) \ do { \ ::NPrivate::Panic(__SOURCE_FILE_IMPL__, __LINE__, __FUNCTION__, nullptr, " " __VA_ARGS__); \ } while (false) -#ifndef NDEBUG +#ifndef NDEBUG /// Assert that depend on NDEBUG macro and outputs message like printf #define Y_VERIFY_DEBUG(expr, ...) \ do { \ @@ -115,7 +115,7 @@ namespace NPrivate { ::NPrivate::Panic(__SOURCE_FILE_IMPL__, __LINE__, __FUNCTION__, #expr, " " __VA_ARGS__); \ } \ } while (false) -#else +#else #define Y_VERIFY_DEBUG(expr, ...) \ do { \ if (false) { \ @@ -123,4 +123,4 @@ namespace NPrivate { Y_UNUSED(__xxx); \ } \ } while (false) -#endif +#endif |