From 6534f5f083661b5852f4532caa18c4f5e1104936 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Thu, 11 Jul 2019 14:27:52 +0200 Subject: [PATCH] AK: Remove weird NonnullRefPtr(NonnullRefPtr&) constructor. --- AK/NonnullRefPtr.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/AK/NonnullRefPtr.h b/AK/NonnullRefPtr.h index 22fee147b4..023444c8e3 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()) {