nca-pr: update for c++20
This commit is contained in:
@@ -50,7 +50,7 @@ namespace ams::fs {
|
||||
std::unique_ptr<ArrayT, Deleter> MakeUnique(size_t size) {
|
||||
using T = typename std::remove_extent<ArrayT>::type;
|
||||
|
||||
static_assert(std::is_pod<ArrayT>::value);
|
||||
static_assert(util::is_pod<ArrayT>::value);
|
||||
static_assert(std::is_array<ArrayT>::value);
|
||||
|
||||
const size_t alloc_size = sizeof(T) * size;
|
||||
|
||||
@@ -161,7 +161,7 @@ namespace ams::fs {
|
||||
|
||||
u8 value[Size];
|
||||
};
|
||||
static_assert(std::is_pod<HashSalt>::value);
|
||||
static_assert(util::is_pod<HashSalt>::value);
|
||||
static_assert(sizeof(HashSalt) == HashSalt::Size);
|
||||
|
||||
using SaveDataHashSalt = std::optional<HashSalt>;
|
||||
|
||||
Reference in New Issue
Block a user