diff options
Diffstat (limited to 'Userland/Libraries/LibGUI/Icon.h')
-rw-r--r-- | Userland/Libraries/LibGUI/Icon.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGUI/Icon.h b/Userland/Libraries/LibGUI/Icon.h index f33c11a7cc..3be0b7a3c4 100644 --- a/Userland/Libraries/LibGUI/Icon.h +++ b/Userland/Libraries/LibGUI/Icon.h @@ -15,7 +15,7 @@ namespace GUI { class IconImpl : public RefCounted<IconImpl> { public: - static NonnullRefPtr<IconImpl> create() { return adopt(*new IconImpl); } + static NonnullRefPtr<IconImpl> create() { return adopt_ref(*new IconImpl); } ~IconImpl() { } const Gfx::Bitmap* bitmap_for_size(int) const; |