summaryrefslogtreecommitdiff
path: root/Userland/DevTools/Profiler/ProfileModel.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/DevTools/Profiler/ProfileModel.h')
-rw-r--r--Userland/DevTools/Profiler/ProfileModel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/DevTools/Profiler/ProfileModel.h b/Userland/DevTools/Profiler/ProfileModel.h
index 21ebbc837e..b9612c2894 100644
--- a/Userland/DevTools/Profiler/ProfileModel.h
+++ b/Userland/DevTools/Profiler/ProfileModel.h
@@ -14,7 +14,7 @@ class ProfileModel final : public GUI::Model {
public:
static NonnullRefPtr<ProfileModel> create(Profile& profile)
{
- return adopt(*new ProfileModel(profile));
+ return adopt_ref(*new ProfileModel(profile));
}
enum Column {