diff options
author | denplusplus <denplusplus@yandex-team.ru> | 2022-02-10 16:47:34 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:34 +0300 |
commit | addb3626ed629a8c7d9c8c30e87365b478a8c266 (patch) | |
tree | c0748b5dcbade83af788c0abfa89c0383d6b779c /util/system/yassert.h | |
parent | 57c20d143e8a438cd76b9fdc3ca2e8ee3ac1f32a (diff) | |
download | ydb-addb3626ed629a8c7d9c8c30e87365b478a8c266.tar.gz |
Restoring authorship annotation for <denplusplus@yandex-team.ru>. Commit 2 of 2.
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 2194a90b76..529823440c 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 |