mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-21 02:08:12 +03:00
AK: Remove weird RefPtr(RefPtr&) constructor.
This commit is contained in:
parent
3d9f783e31
commit
32fb7ecef4
Notes:
sideshowbarker
2024-07-19 13:20:00 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/32fb7ecef46
@ -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())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user