summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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;
};