diff options
Diffstat (limited to 'library/cpp/containers/stack_vector')
| -rw-r--r-- | library/cpp/containers/stack_vector/stack_vec.h | 2 |
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 91ae8a47786..25a8658fd3c 100644 --- a/library/cpp/containers/stack_vector/stack_vec.h +++ b/library/cpp/containers/stack_vector/stack_vec.h @@ -74,7 +74,7 @@ namespace NPrivate { void deallocate(T* p, size_type n) { if (p >= reinterpret_cast<T*>(&StackBasedStorage[0]) && p < reinterpret_cast<T*>(&StackBasedStorage[CountOnStack])) { - Y_VERIFY(IsStorageUsed); + Y_ABORT_UNLESS(IsStorageUsed); IsStorageUsed = false; } else { FallbackAllocator().deallocate(p, n); |
