ams: build with -std=gnu++23

This commit is contained in:
Michael Scire authored and SciresM committed 2024-06-01 22:36:37 -07:00
1 parent f35c94810c
commit 1609f804f2
9 files changed
+15 -11

No files matched your search

@@ -41,7 +41,7 @@ namespace ams::htc::server::rpc {
#else
static constexpr size_t MaxTaskSize = 0xE1D8;
#endif
using TaskStorage = typename std::aligned_storage<MaxTaskSize, alignof(void *)>::type;
struct TaskStorage { alignas(alignof(void *)) std::byte _storage[MaxTaskSize]; };
private:
bool m_valid[MaxRpcCount]{};
TaskStorage m_storages[MaxRpcCount]{};