ams: build with -std=gnu++23

This commit is contained in:
Michael Scire
2024-05-26 15:39:00 -07:00
committed by SciresM
parent f35c94810c
commit 1609f804f2
9 changed files with 15 additions and 11 deletions

View File

@@ -22,7 +22,7 @@ namespace ams::util {
template<typename T, size_t Size = sizeof(T), size_t Align = alignof(T)>
struct TypedStorage {
typename std::aligned_storage<Size, Align>::type _storage;
alignas(Align) std::byte _storage[Size];
};
template<typename T>