From a16be54721a0e6c19b770ff50a61253b9bd0b158 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 13 Aug 2025 19:46:25 +0200 Subject: compat/function2: merge 496c20fede cf. https://github.com/Naios/function2/commit/496c20fede5378190f --- compat/function2.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'compat/function2.hpp') 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; }; -- cgit v1.2.3