aboutsummaryrefslogtreecommitdiffstats
path: root/util/system
diff options
context:
space:
mode:
authorAlexSm <alex@ydb.tech>2023-12-27 23:31:58 +0100
committerGitHub <noreply@github.com>2023-12-27 23:31:58 +0100
commitd67bfb4b4b7549081543e87a31bc6cb5c46ac973 (patch)
tree8674f2f1570877cb653e7ddcff37ba00288de15a /util/system
parent1f6bef05ed441c3aa2d565ac792b26cded704ac7 (diff)
downloadydb-d67bfb4b4b7549081543e87a31bc6cb5c46ac973.tar.gz
Import libs 4 (#758)
Diffstat (limited to 'util/system')
-rw-r--r--util/system/yassert.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/system/yassert.h b/util/system/yassert.h
index 8411254693..8fb5b6bd82 100644
--- a/util/system/yassert.h
+++ b/util/system/yassert.h
@@ -86,6 +86,7 @@ namespace NPrivate {
} \
} while (false)
+#define Y_ABORT_IF(expr, ...) Y_ABORT_UNLESS(!(expr), __VA_ARGS__)
#define Y_ABORT(...) Y_ABORT_UNLESS(false, __VA_ARGS__)
#ifndef NDEBUG