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