diff options
Diffstat (limited to 'Userland/Applets/ClipboardHistory/ClipboardHistoryModel.cpp')
-rw-r--r-- | Userland/Applets/ClipboardHistory/ClipboardHistoryModel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applets/ClipboardHistory/ClipboardHistoryModel.cpp b/Userland/Applets/ClipboardHistory/ClipboardHistoryModel.cpp index a6936b6924..c667c1c334 100644 --- a/Userland/Applets/ClipboardHistory/ClipboardHistoryModel.cpp +++ b/Userland/Applets/ClipboardHistory/ClipboardHistoryModel.cpp @@ -10,7 +10,7 @@ NonnullRefPtr<ClipboardHistoryModel> ClipboardHistoryModel::create() { - return adopt(*new ClipboardHistoryModel()); + return adopt_ref(*new ClipboardHistoryModel()); } ClipboardHistoryModel::~ClipboardHistoryModel() |