diff options
-rw-r--r-- | AK/NonnullOwnPtr.h | 6 |
1 files changed, 0 insertions, 6 deletions
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<U>(NonnullOwnPtr<U>::Adopt, static_cast<U&>(*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() { |