From 32fb7ecef465f3b6f7217c82201b5a8d59b110f5 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Thu, 11 Jul 2019 15:19:16 +0200 Subject: [PATCH] AK: Remove weird RefPtr(RefPtr&) constructor. --- AK/RefPtr.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/AK/RefPtr.h b/AK/RefPtr.h index bf1ddb7c0a..866cea0964 100644 --- a/AK/RefPtr.h +++ b/AK/RefPtr.h @@ -38,10 +38,6 @@ public: : m_ptr(&object) { } - RefPtr(RefPtr& other) - : m_ptr(other.copy_ref().leak_ref()) - { - } RefPtr(RefPtr&& other) : m_ptr(other.leak_ref()) {