summaryrefslogtreecommitdiff
path: root/src/common/multi_level_page_table.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/multi_level_page_table.h')
-rw-r--r--src/common/multi_level_page_table.h8
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:
46 46
47 void ReserveRange(u64 start, std::size_t size); 47 void ReserveRange(u64 start, std::size_t size);
48 48
49 [[nodiscard]] constexpr const BaseAddr& operator[](std::size_t index) const { 49 [[nodiscard]] const BaseAddr& operator[](std::size_t index) const {
50 return base_ptr[index]; 50 return base_ptr[index];
51 } 51 }
52 52
53 [[nodiscard]] constexpr BaseAddr& operator[](std::size_t index) { 53 [[nodiscard]] BaseAddr& operator[](std::size_t index) {
54 return base_ptr[index]; 54 return base_ptr[index];
55 } 55 }
56 56
57 [[nodiscard]] constexpr BaseAddr* data() { 57 [[nodiscard]] BaseAddr* data() {
58 return base_ptr; 58 return base_ptr;
59 } 59 }
60 60
61 [[nodiscard]] constexpr const BaseAddr* data() const { 61 [[nodiscard]] const BaseAddr* data() const {
62 return base_ptr; 62 return base_ptr;
63 } 63 }
64 64