1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:27:35 +00:00

AK: Remove weird NonnullRefPtr(NonnullRefPtr&) constructor.

This commit is contained in:
Andreas Kling 2019-07-11 14:27:52 +02:00
parent bee39d8524
commit 6534f5f083

View file

@ -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())
{