diff --git a/AK/NonnullRefPtr.h b/AK/NonnullRefPtr.h index 22fee147b4d..023444c8e34 100644 --- a/AK/NonnullRefPtr.h +++ b/AK/NonnullRefPtr.h @@ -58,11 +58,6 @@ public: { } RETURN_TYPESTATE(unconsumed) - NonnullRefPtr(NonnullRefPtr& other) - : m_ptr(&other.copy_ref().leak_ref()) - { - } - RETURN_TYPESTATE(unconsumed) NonnullRefPtr(NonnullRefPtr&& other) : m_ptr(&other.leak_ref()) {