Skip to content

Commit

Permalink
Don't use aligned_storage_t in any_sender
Browse files Browse the repository at this point in the history
  • Loading branch information
msimberg committed Oct 23, 2024
1 parent 623dbf0 commit a9f1d16
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ namespace pika::detail {
#if defined(PIKA_DETAIL_ENABLE_ANY_SENDER_SBO)
union
{
std::aligned_storage_t<embedded_storage_size, alignment_size> embedded_storage;
alignas(alignment_size) unsigned char embedded_storage[embedded_storage_size];
#endif
base_type* heap_storage = nullptr;
#if defined(PIKA_DETAIL_ENABLE_ANY_SENDER_SBO)
Expand Down

0 comments on commit a9f1d16

Please sign in to comment.