summaryrefslogtreecommitdiff
path: root/Userland/DevTools/HackStudio/ProjectTemplate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/DevTools/HackStudio/ProjectTemplate.cpp')
-rw-r--r--Userland/DevTools/HackStudio/ProjectTemplate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/DevTools/HackStudio/ProjectTemplate.cpp b/Userland/DevTools/HackStudio/ProjectTemplate.cpp
index 84e8b95d0b..8c0f6c3f82 100644
--- a/Userland/DevTools/HackStudio/ProjectTemplate.cpp
+++ b/Userland/DevTools/HackStudio/ProjectTemplate.cpp
@@ -62,7 +62,7 @@ RefPtr<ProjectTemplate> ProjectTemplate::load_from_manifest(const String& manife
icon = GUI::Icon(move(bitmap32));
}
- return adopt(*new ProjectTemplate(id, name, description, icon, priority));
+ return adopt_ref(*new ProjectTemplate(id, name, description, icon, priority));
}
Result<void, String> ProjectTemplate::create_project(const String& name, const String& path)