summaryrefslogtreecommitdiff
path: root/DevTools/HackStudio/Project.h
diff options
context:
space:
mode:
Diffstat (limited to 'DevTools/HackStudio/Project.h')
-rw-r--r--DevTools/HackStudio/Project.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/DevTools/HackStudio/Project.h b/DevTools/HackStudio/Project.h
index d1a3c31ac8..dddb34726f 100644
--- a/DevTools/HackStudio/Project.h
+++ b/DevTools/HackStudio/Project.h
@@ -55,7 +55,7 @@ public:
[[nodiscard]] bool remove_file(const String& filename);
[[nodiscard]] bool save();
- ProjectFile* get_file(const String& filename);
+ RefPtr<ProjectFile> get_file(const String& filename);
ProjectType type() const { return m_type; }
GUI::Model& model() { return *m_model; }