diff --git a/AK/DeprecatedString.h b/AK/DeprecatedString.h index a77130161e..09115d2bc0 100644 --- a/AK/DeprecatedString.h +++ b/AK/DeprecatedString.h @@ -215,12 +215,10 @@ public: bool operator==(DeprecatedFlyString const&) const; bool operator<(DeprecatedString const&) const; - bool operator<(char const*) const; bool operator>=(DeprecatedString const& other) const { return !(*this < other); } bool operator>=(char const* other) const { return !(*this < other); } bool operator>(DeprecatedString const&) const; - bool operator>(char const*) const; bool operator<=(DeprecatedString const& other) const { return !(*this > other); } bool operator<=(char const* other) const { return !(*this > other); } diff --git a/AK/IntrusiveList.h b/AK/IntrusiveList.h index df822ccef0..9475efd492 100644 --- a/AK/IntrusiveList.h +++ b/AK/IntrusiveList.h @@ -112,7 +112,6 @@ public: m_value = IntrusiveList::prev(m_value); return *this; } - ReverseIterator& erase(); private: T* m_value { nullptr };