summaryrefslogtreecommitdiff
path: root/Userland/Applications/SystemMonitor/DevicesModel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Applications/SystemMonitor/DevicesModel.cpp')
-rw-r--r--Userland/Applications/SystemMonitor/DevicesModel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/SystemMonitor/DevicesModel.cpp b/Userland/Applications/SystemMonitor/DevicesModel.cpp
index 22abd5c9e1..08b578aa98 100644
--- a/Userland/Applications/SystemMonitor/DevicesModel.cpp
+++ b/Userland/Applications/SystemMonitor/DevicesModel.cpp
@@ -14,7 +14,7 @@
NonnullRefPtr<DevicesModel> DevicesModel::create()
{
- return adopt(*new DevicesModel);
+ return adopt_ref(*new DevicesModel);
}
DevicesModel::DevicesModel()