ams: fix compilation with gcc 13

This commit is contained in:
Michael Scire 2023-05-06 17:49:36 -07:00 committed by SciresM
parent ed9e60acb9
commit 1f5ec68a5c
8 changed files with 8 additions and 28 deletions

View file

@ -144,10 +144,6 @@ namespace ams::util {
return m_node == rhs.m_node;
}
constexpr ALWAYS_INLINE bool operator!=(const Iterator &rhs) const {
return !(*this == rhs);
}
constexpr ALWAYS_INLINE pointer operator->() const {
return m_node;
}
@ -355,10 +351,6 @@ namespace ams::util {
return m_iterator == rhs.m_iterator;
}
constexpr ALWAYS_INLINE bool operator!=(const Iterator &rhs) const {
return !(*this == rhs);
}
constexpr ALWAYS_INLINE pointer operator->() const {
return std::addressof(Traits::GetParent(*m_iterator));
}

View file

@ -94,10 +94,6 @@ namespace ams::util {
return m_node == rhs.m_node;
}
constexpr ALWAYS_INLINE bool operator!=(const Iterator &rhs) const {
return !(*this == rhs);
}
constexpr ALWAYS_INLINE pointer operator->() const {
return m_node;
}
@ -304,10 +300,6 @@ namespace ams::util {
return m_impl == rhs.m_impl;
}
constexpr ALWAYS_INLINE bool operator!=(const Iterator &rhs) const {
return !(*this == rhs);
}
constexpr ALWAYS_INLINE pointer operator->() const {
return Traits::GetParent(std::addressof(*m_impl));
}