mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 00:17:46 +00:00
LibGUI: Remove use of copy_ref().
This commit is contained in:
parent
b0372883ff
commit
992272761c
3 changed files with 4 additions and 3 deletions
|
@ -29,7 +29,8 @@ public:
|
|||
|
||||
GIcon& operator=(const GIcon& other)
|
||||
{
|
||||
m_impl = other.m_impl.copy_ref();
|
||||
if (this != &other)
|
||||
m_impl = other.m_impl;
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue