mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-18 01:07:33 +01:00
memory_manager: Make operator+ const qualified
This doesn't modify member state, so it can be marked as const.
This commit is contained in:
parent
b8885aa03b
commit
d12d59f62a
@ -51,7 +51,7 @@ public:
|
||||
return static_cast<VAddr>(state) << ShiftBits;
|
||||
}
|
||||
|
||||
constexpr PageEntry operator+(u64 offset) {
|
||||
constexpr PageEntry operator+(u64 offset) const {
|
||||
// If this is a reserved value, offsets do not apply
|
||||
if (!IsValid()) {
|
||||
return *this;
|
||||
|
Loading…
Reference in New Issue
Block a user