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

@@ -73,7 +73,7 @@ namespace ams::emummc {
/* Retrieve and cache values. */
{
typename std::aligned_storage<2 * (MaxDirLen + 1), os::MemoryPageSize>::type path_storage;
alignas(os::MemoryPageSize) std::byte path_storage[2 * (MaxDirLen + 1)];
struct {
char file_path[MaxDirLen + 1];