aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/containers/stack_vector
diff options
context:
space:
mode:
Diffstat (limited to 'library/cpp/containers/stack_vector')
-rw-r--r--library/cpp/containers/stack_vector/stack_vec.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/library/cpp/containers/stack_vector/stack_vec.h b/library/cpp/containers/stack_vector/stack_vec.h
index fcc5d9a2a5..ea648767ae 100644
--- a/library/cpp/containers/stack_vector/stack_vec.h
+++ b/library/cpp/containers/stack_vector/stack_vec.h
@@ -45,7 +45,8 @@ namespace NPrivate {
};
public:
- TStackBasedAllocator() = default;
+ //NOTE: it is important to make this syntax; using =default will lead to memset https://godbolt.org/z/vTqzK9aWr
+ TStackBasedAllocator() noexcept {};
template <
typename... TArgs,