From 09a22ddb2ad3da34b1ecc9b232cc2f939e67060a Mon Sep 17 00:00:00 2001 From: Sam Atkins Date: Fri, 27 Jan 2023 16:38:37 +0000 Subject: [PATCH] AK: Remove unimplemented methods --- AK/DeprecatedString.h | 2 -- AK/IntrusiveList.h | 1 - 2 files changed, 3 deletions(-) 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 };