diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2022-09-01 05:45:22 +0200 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2022-10-06 21:00:54 +0200 |
commit | ca3db0d7c94a20668781830ff852dbf512598efb (patch) | |
tree | edd20d669000e980169db27a896adc09078ceeaa /src/common | |
parent | state_tracker: workaround channel setup for homebrew (diff) | |
download | yuzu-ca3db0d7c94a20668781830ff852dbf512598efb.tar yuzu-ca3db0d7c94a20668781830ff852dbf512598efb.tar.gz yuzu-ca3db0d7c94a20668781830ff852dbf512598efb.tar.bz2 yuzu-ca3db0d7c94a20668781830ff852dbf512598efb.tar.lz yuzu-ca3db0d7c94a20668781830ff852dbf512598efb.tar.xz yuzu-ca3db0d7c94a20668781830ff852dbf512598efb.tar.zst yuzu-ca3db0d7c94a20668781830ff852dbf512598efb.zip |
Diffstat (limited to '')
-rw-r--r-- | src/common/multi_level_page_table.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common/multi_level_page_table.h b/src/common/multi_level_page_table.h index 08092c89a..31f6676a0 100644 --- a/src/common/multi_level_page_table.h +++ b/src/common/multi_level_page_table.h @@ -46,19 +46,19 @@ public: void ReserveRange(u64 start, std::size_t size); - [[nodiscard]] constexpr const BaseAddr& operator[](std::size_t index) const { + [[nodiscard]] const BaseAddr& operator[](std::size_t index) const { return base_ptr[index]; } - [[nodiscard]] constexpr BaseAddr& operator[](std::size_t index) { + [[nodiscard]] BaseAddr& operator[](std::size_t index) { return base_ptr[index]; } - [[nodiscard]] constexpr BaseAddr* data() { + [[nodiscard]] BaseAddr* data() { return base_ptr; } - [[nodiscard]] constexpr const BaseAddr* data() const { + [[nodiscard]] const BaseAddr* data() const { return base_ptr; } |