diff options
Diffstat (limited to 'Userland/DevTools/HackStudio/Git/GitFilesModel.cpp')
-rw-r--r-- | Userland/DevTools/HackStudio/Git/GitFilesModel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/DevTools/HackStudio/Git/GitFilesModel.cpp b/Userland/DevTools/HackStudio/Git/GitFilesModel.cpp index 89b24e4691..99cb8a6f4e 100644 --- a/Userland/DevTools/HackStudio/Git/GitFilesModel.cpp +++ b/Userland/DevTools/HackStudio/Git/GitFilesModel.cpp @@ -10,7 +10,7 @@ namespace HackStudio { NonnullRefPtr<GitFilesModel> GitFilesModel::create(Vector<LexicalPath>&& files) { - return adopt(*new GitFilesModel(move(files))); + return adopt_ref(*new GitFilesModel(move(files))); } GitFilesModel::GitFilesModel(Vector<LexicalPath>&& files) |