Add const accessors to OffsetMember

This commit is contained in:
Billy Laws 2022-08-31 14:01:58 +01:00
parent 64a9db2e82
commit 09f376e500

View File

@ -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;
}