Skip to content
Snippets Groups Projects
Commit d12d59f6 authored by Lioncash's avatar Lioncash
Browse files

memory_manager: Make operator+ const qualified

This doesn't modify member state, so it can be marked as const.
parent b8885aa0
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment