1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 05:37:34 +00:00

AK: Remove weird RefPtr(RefPtr&) constructor.

This commit is contained in:
Andreas Kling 2019-07-11 15:19:16 +02:00
parent 3d9f783e31
commit 32fb7ecef4

View file

@ -38,10 +38,6 @@ public:
: m_ptr(&object) : m_ptr(&object)
{ {
} }
RefPtr(RefPtr& other)
: m_ptr(other.copy_ref().leak_ref())
{
}
RefPtr(RefPtr&& other) RefPtr(RefPtr&& other)
: m_ptr(other.leak_ref()) : m_ptr(other.leak_ref())
{ {