libstrat: fix more gnu++23 errors

This commit is contained in:
Michael Scire
2024-06-05 11:28:29 -07:00
parent c41a6b80d7
commit 5b135d12ca
3 changed files with 3 additions and 3 deletions

View File

@@ -29,7 +29,7 @@ namespace ams::sf {
private:
struct Holder {
MemoryResource *allocator;
typename std::aligned_storage<sizeof(T), alignof(T)>::type storage;
alignas(alignof(T)) std::byte storage[sizeof(T)];
};
public:
void *Allocate(size_t size) {