aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/yassert.h
diff options
context:
space:
mode:
authordenplusplus <denplusplus@yandex-team.ru>2022-02-10 16:47:34 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:34 +0300
commit57c20d143e8a438cd76b9fdc3ca2e8ee3ac1f32a (patch)
treecc63639f8e502db19a82c20e2861c6d1edbf9fea /util/system/yassert.h
parent464ba3814a83db4f2d5327393b0b6eaf0c86bfd7 (diff)
downloadydb-57c20d143e8a438cd76b9fdc3ca2e8ee3ac1f32a.tar.gz
Restoring authorship annotation for <denplusplus@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/system/yassert.h')
-rw-r--r--util/system/yassert.h8
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