nca-pr: update for c++20

This commit is contained in:
Michael Scire
2020-05-14 02:22:24 -07:00
parent 311d2678c7
commit 53a47e07fd
14 changed files with 36 additions and 36 deletions

View File

@@ -53,7 +53,7 @@ namespace ams::fssystem {
return offset;
}
};
static_assert(std::is_pod<Entry>::value);
static_assert(util::is_pod<Entry>::value);
static_assert(sizeof(Entry) == 0x14);
struct EntryData {
@@ -67,7 +67,7 @@ namespace ams::fssystem {
this->storage_index = entry.storage_index;
}
};
static_assert(std::is_pod<EntryData>::value);
static_assert(util::is_pod<EntryData>::value);
private:
struct ContinuousReadingEntry {
static constexpr size_t FragmentSizeMax = 4_KB;
@@ -86,7 +86,7 @@ namespace ams::fssystem {
return this->entry.storage_index != 0;
}
};
static_assert(std::is_pod<ContinuousReadingEntry>::value);
static_assert(util::is_pod<ContinuousReadingEntry>::value);
public:
static constexpr s64 QueryHeaderStorageSize() {
return BucketTree::QueryHeaderStorageSize();