aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/containers/stack_vector
diff options
context:
space:
mode:
authorilnurkh <ilnurkh@yandex-team.com>2023-10-17 08:15:44 +0300
committerilnurkh <ilnurkh@yandex-team.com>2023-10-17 09:00:07 +0300
commit784925324fd115c37bc98c5bbfe64c15f9966d74 (patch)
treef763f6eaacfcd4757d249977aaddfa4e9b2a355b /library/cpp/containers/stack_vector
parentd6c75d9ec33559b29eb61a8f2e17cbca30fd5ae2 (diff)
downloadydb-784925324fd115c37bc98c5bbfe64c15f9966d74.tar.gz
Y_FAIL->Y_ABORT at '^li'
https://clubs.at.yandex-team.ru/arcadia/29404
Diffstat (limited to 'library/cpp/containers/stack_vector')
-rw-r--r--library/cpp/containers/stack_vector/stack_vec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/cpp/containers/stack_vector/stack_vec.h b/library/cpp/containers/stack_vector/stack_vec.h
index 25a8658fd3..b6036059b2 100644
--- a/library/cpp/containers/stack_vector/stack_vec.h
+++ b/library/cpp/containers/stack_vector/stack_vec.h
@@ -64,7 +64,7 @@ namespace NPrivate {
return reinterpret_cast<T*>(&StackBasedStorage[0]);
} else {
if constexpr (!UseFallbackAlloc) {
- Y_FAIL(
+ Y_ABORT(
"Stack storage overflow. Capacity: %d, requested: %d", (int)CountOnStack, int(n));
}
return FallbackAllocator().allocate(n);