diff --git a/AK/NonnullOwnPtr.h b/AK/NonnullOwnPtr.h index 178cdccaa6..b10ac3ddc7 100644 --- a/AK/NonnullOwnPtr.h +++ b/AK/NonnullOwnPtr.h @@ -135,12 +135,6 @@ public: return NonnullOwnPtr(NonnullOwnPtr::Adopt, static_cast(*leak_ptr())); } - bool operator==(NonnullOwnPtr const& other) const { return m_ptr == other.m_ptr; } - bool operator!=(NonnullOwnPtr const& other) const { return m_ptr != other.m_ptr; } - - bool operator==(NonnullOwnPtr& other) { return m_ptr == other.m_ptr; } - bool operator!=(NonnullOwnPtr& other) { return m_ptr != other.m_ptr; } - private: void clear() {