diff options
Diffstat (limited to 'include/utility/aligned_storage.h')
| -rw-r--r-- | include/utility/aligned_storage.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/utility/aligned_storage.h b/include/utility/aligned_storage.h index e3e3895f8..83b8ce75d 100644 --- a/include/utility/aligned_storage.h +++ b/include/utility/aligned_storage.h @@ -30,7 +30,7 @@ class insp::aligned_storage final { private: /** The underlying aligned storage block. */ - mutable typename std::aligned_storage<sizeof(T), std::alignment_of_v<T>>::type data; + alignas(T) mutable std::byte data[sizeof(T)]; public: /** Default constructor for the aligned_storage class. */ |
