mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-23 21:11:53 +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;
|
||||
}
|
||||
|
||||
auto operator[](std::size_t index) {
|
||||
const auto &operator[](std::size_t index) const {
|
||||
return value[index];
|
||||
}
|
||||
|
||||
const ValueType &operator*() const {
|
||||
return value;
|
||||
}
|
||||
|
||||
ValueType &operator*() {
|
||||
return value;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user