nca-pr: update for c++20
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user