summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2025-08-13 19:46:25 +0200
committerStanislaw Halik <sthalik@misaki.pl>2025-08-13 21:11:06 +0200
commita16be54721a0e6c19b770ff50a61253b9bd0b158 (patch)
tree1fafe9a12898658619453d1d90b54a65a8c355b1
parent7f3edd742c589cbdbba3fb170e81d6af29ea86e3 (diff)
compat/function2: merge 496c20fedeHEADmaster
cf. https://github.com/Naios/function2/commit/496c20fede5378190f
-rw-r--r--compat/function2.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/compat/function2.hpp b/compat/function2.hpp
index 9e6b9b50..f53dcf7f 100644
--- a/compat/function2.hpp
+++ b/compat/function2.hpp
@@ -1082,8 +1082,8 @@ struct internal_capacity {
/// Tag to access the structure in a type-safe way
data_accessor accessor_;
/// The internal capacity we use to allocate in-place
- struct {
- alignas(Capacity::alignment) unsigned char data[Capacity::capacity];
+ struct alignas(Capacity::alignment) {
+ unsigned char data[Capacity::capacity];
} capacity_;
} type;
};