summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-04-03 01:02:04 +0200
committerLiam <byteslice@airmail.cc>2023-04-03 01:02:04 +0200
commita9623d5f550c8fc63f436a40f43bfbf539ac0853 (patch)
treeb6513dfee3b8410ab61d5e9ea799e757f049a1de /src/common
parentMerge pull request #10005 from liamwhite/kernel-atomics (diff)
downloadyuzu-a9623d5f550c8fc63f436a40f43bfbf539ac0853.tar
yuzu-a9623d5f550c8fc63f436a40f43bfbf539ac0853.tar.gz
yuzu-a9623d5f550c8fc63f436a40f43bfbf539ac0853.tar.bz2
yuzu-a9623d5f550c8fc63f436a40f43bfbf539ac0853.tar.lz
yuzu-a9623d5f550c8fc63f436a40f43bfbf539ac0853.tar.xz
yuzu-a9623d5f550c8fc63f436a40f43bfbf539ac0853.tar.zst
yuzu-a9623d5f550c8fc63f436a40f43bfbf539ac0853.zip
Diffstat (limited to 'src/common')
-rw-r--r--src/common/intrusive_red_black_tree.h8
-rw-r--r--src/common/typed_address.h5
2 files changed, 0 insertions, 13 deletions
diff --git a/src/common/intrusive_red_black_tree.h b/src/common/intrusive_red_black_tree.h
index 5f6b34e82..bc2940fa0 100644
--- a/src/common/intrusive_red_black_tree.h
+++ b/src/common/intrusive_red_black_tree.h
@@ -96,10 +96,6 @@ public:
return m_node == rhs.m_node;
}
- constexpr bool operator!=(const Iterator& rhs) const {
- return !(*this == rhs);
- }
-
constexpr pointer operator->() const {
return m_node;
}
@@ -324,10 +320,6 @@ public:
return m_impl == rhs.m_impl;
}
- constexpr bool operator!=(const Iterator& rhs) const {
- return !(*this == rhs);
- }
-
constexpr pointer operator->() const {
return Traits::GetParent(std::addressof(*m_impl));
}
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;