diff options
| author | bunnei <bunneidev@gmail.com> | 2023-04-08 00:09:06 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-08 00:09:06 -0700 |
| commit | 25c4ae6e111146386d59acd355cebe88c3d5331f (patch) | |
| tree | aaedf79b8d1cdad3db4f1fcf76ffbb0aa9d4f460 /src/common/typed_address.h | |
| parent | 6aaa8acff9b690d11142b5168197caa40c0db207 (diff) | |
| parent | a9623d5f550c8fc63f436a40f43bfbf539ac0853 (diff) | |
Merge pull request #10022 from liamwhite/gcc-13
general: fixes for gcc 13
Diffstat (limited to 'src/common/typed_address.h')
| -rw-r--r-- | src/common/typed_address.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/common/typed_address.h b/src/common/typed_address.h index cf7bbeae1..64f4a07c2 100644 --- a/src/common/typed_address.h +++ b/src/common/typed_address.h @@ -116,7 +116,6 @@ public: // Comparison operators. constexpr bool operator==(const TypedAddress&) const = default; - constexpr bool operator!=(const TypedAddress&) const = default; constexpr auto operator<=>(const TypedAddress&) const = default; // For convenience, also define comparison operators versus uint64_t. @@ -124,10 +123,6 @@ public: return m_address == rhs; } - constexpr inline bool operator!=(uint64_t rhs) const { - return m_address != rhs; - } - // Allow getting the address explicitly, for use in accessors. constexpr inline uint64_t GetValue() const { return m_address; |
