mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-24 04:01:50 +01:00
Add const accessors to OffsetMember
This commit is contained in:
parent
64a9db2e82
commit
09f376e500
@ -288,10 +288,14 @@ namespace skyline::util {
|
|||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
auto operator[](std::size_t index) {
|
const auto &operator[](std::size_t index) const {
|
||||||
return value[index];
|
return value[index];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const ValueType &operator*() const {
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
|
||||||
ValueType &operator*() {
|
ValueType &operator*() {
|
||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user