diff options
Diffstat (limited to '')
| -rw-r--r-- | src/common/page_table.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/page_table.h b/src/common/page_table.h index 1e8bd3187..cf5eed780 100644 --- a/src/common/page_table.h +++ b/src/common/page_table.h | |||
| @@ -36,11 +36,11 @@ struct SpecialRegion { | |||
| 36 | 36 | ||
| 37 | MemoryHookPointer handler; | 37 | MemoryHookPointer handler; |
| 38 | 38 | ||
| 39 | bool operator<(const SpecialRegion& other) const { | 39 | [[nodiscard]] bool operator<(const SpecialRegion& other) const { |
| 40 | return std::tie(type, handler) < std::tie(other.type, other.handler); | 40 | return std::tie(type, handler) < std::tie(other.type, other.handler); |
| 41 | } | 41 | } |
| 42 | 42 | ||
| 43 | bool operator==(const SpecialRegion& other) const { | 43 | [[nodiscard]] bool operator==(const SpecialRegion& other) const { |
| 44 | return std::tie(type, handler) == std::tie(other.type, other.handler); | 44 | return std::tie(type, handler) == std::tie(other.type, other.handler); |
| 45 | } | 45 | } |
| 46 | }; | 46 | }; |