mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-03 08:08:39 -04:00
ams: build with -std=gnu++23
This commit is contained in:
parent
f35c94810c
commit
1609f804f2
9 changed files with 15 additions and 11 deletions
|
@ -19,9 +19,13 @@
|
|||
namespace ams::osdbg::impl {
|
||||
|
||||
template<size_t Size, int NumPointers, size_t Alignment>
|
||||
using AlignedStorageIlp32 = typename std::aligned_storage<Size + NumPointers * sizeof(u32), Alignment>::type;
|
||||
struct AlignedStorageIlp32 {
|
||||
alignas(Alignment) std::byte _storage[Size + NumPointers * sizeof(u32)];
|
||||
};
|
||||
|
||||
template<size_t Size, int NumPointers, size_t Alignment>
|
||||
using AlignedStorageLp64 = typename std::aligned_storage<Size + NumPointers * sizeof(u64), Alignment>::type;
|
||||
struct AlignedStorageLp64 {
|
||||
alignas(Alignment) std::byte _storage[Size + NumPointers * sizeof(u64)];
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue