From a8405301c62d358b585ab071f4a7b6b85e9a9255 Mon Sep 17 00:00:00 2001 From: Jules Fouchy Date: Thu, 19 Dec 2024 20:14:01 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A8=20Fix=20build?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ProjectManager/internal_utils.cpp | 2 +- src/ProjectManager/utils.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ProjectManager/internal_utils.cpp b/src/ProjectManager/internal_utils.cpp index 6116e435..61586dc3 100644 --- a/src/ProjectManager/internal_utils.cpp +++ b/src/ProjectManager/internal_utils.cpp @@ -63,7 +63,7 @@ auto save_project_to(CommandExecutionContext_Ref const& ctx, std::filesystem::pa { if (!ctx.project_path().has_value() && path != Path::untitled_project()) { // We just saved the untitled project as an actual project, we can delete the untitled project file so that it won't be loaded the next time we open Coollab. - Cool::File::remove(Path::untitled_project()); + Cool::File::remove_file(Path::untitled_project()); } } else diff --git a/src/ProjectManager/utils.cpp b/src/ProjectManager/utils.cpp index 96cdb2b2..0c56dc09 100644 --- a/src/ProjectManager/utils.cpp +++ b/src/ProjectManager/utils.cpp @@ -116,7 +116,7 @@ void before_project_destruction(CommandExecutionContext_Ref const& ctx) break; } } - Cool::File::remove(Path::untitled_project()); // Users either saved their untitled project, or accepted to lose their changes. + Cool::File::remove_file(Path::untitled_project()); // Users either saved their untitled project, or accepted to lose their changes. if (!has_saved) internal_project::save_project_to(ctx, Path::backup_project()); }