summaryrefslogtreecommitdiffstats
path: root/library/cpp/containers/stack_vector/stack_vec.h
diff options
context:
space:
mode:
authorYDBot <[email protected]>2026-01-20 12:51:40 +0100
committerGitHub <[email protected]>2026-01-20 14:51:40 +0300
commit902d94a224c503f2b647aab3e227b6031e84093c (patch)
treef8764430debf8074030c25b8c65d19b499a80983 /library/cpp/containers/stack_vector/stack_vec.h
parent3ce9026e63b31ce81e5215f05d659302e554c07f (diff)
Sync branches 260120-0833: rightlib to main (#32374)
Co-authored-by: robot-piglet <[email protected]> Co-authored-by: mikhnenko <[email protected]> Co-authored-by: swarmer <[email protected]> Co-authored-by: babenko <[email protected]> Co-authored-by: shadchin <[email protected]> Co-authored-by: tea-mur <[email protected]>
Diffstat (limited to 'library/cpp/containers/stack_vector/stack_vec.h')
-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 b6036059b26..f2641b5d070 100644
--- a/library/cpp/containers/stack_vector/stack_vec.h
+++ b/library/cpp/containers/stack_vector/stack_vec.h
@@ -82,7 +82,7 @@ namespace NPrivate {
}
private:
- std::aligned_storage_t<sizeof(T), alignof(T)> StackBasedStorage[CountOnStack];
+ alignas(T) char StackBasedStorage[CountOnStack][sizeof(T)];
bool IsStorageUsed = false;
private: