aboutsummaryrefslogtreecommitdiff
path: root/src/common/typed_address.h
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-04-02 19:02:04 -0400
committerLiam <byteslice@airmail.cc>2023-04-02 19:02:04 -0400
commitbbc9f0d3e929cbadb1d4f07a73b97abd014ccb91 (patch)
treeb6513dfee3b8410ab61d5e9ea799e757f049a1de /src/common/typed_address.h
parent6f649f250f52265f1153bb4e1f98352074ff0e78 (diff)
general: fixes for gcc 13
Diffstat (limited to 'src/common/typed_address.h')
-rw-r--r--src/common/typed_address.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/common/typed_address.h b/src/common/typed_address.h
index cf7bbeae1b..64f4a07c20 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;