Merge pull request #5250 from lioncash/build

core/memory: Fix #5246
This commit is contained in:
Ben 2020-04-19 19:39:32 +02:00 committed by GitHub
commit 0f72dd6d85
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -99,14 +99,6 @@ struct PageTable {
VAddr idx;
};
Entry operator[](VAddr idx) {
return Entry(*this, idx);
}
u8* operator[](VAddr idx) const {
return raw[idx];
}
Entry operator[](std::size_t idx) {
return Entry(*this, static_cast<VAddr>(idx));
}