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
Notes: sideshowbarker 2024-07-19 13:20:05 +09:00

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