summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/GIcon.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-07-11 15:49:47 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-07-11 15:49:47 +0200
commit992272761cdb098e067d1f70631a6a38a0400867 (patch)
tree6de698b4ff9748dbf48974e2eff6fe7d2d291fd6 /Libraries/LibGUI/GIcon.cpp
parentb0372883fff3b52b1b5e921a305df3f23094cce9 (diff)
downloadserenity-992272761cdb098e067d1f70631a6a38a0400867.zip
LibGUI: Remove use of copy_ref().
Diffstat (limited to 'Libraries/LibGUI/GIcon.cpp')
-rw-r--r--Libraries/LibGUI/GIcon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibGUI/GIcon.cpp b/Libraries/LibGUI/GIcon.cpp
index 02ba6355ce..1d82735375 100644
--- a/Libraries/LibGUI/GIcon.cpp
+++ b/Libraries/LibGUI/GIcon.cpp
@@ -11,7 +11,7 @@ GIcon::GIcon(const GIconImpl& impl)
}
GIcon::GIcon(const GIcon& other)
- : m_impl(other.m_impl.copy_ref())
+ : m_impl(other.m_impl)
{
}