Skip to content

Commit

Permalink
🚨 Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
JulesFouchy committed Dec 19, 2024
1 parent c44b3d6 commit a840530
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ProjectManager/internal_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/ProjectManager/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
Expand Down

0 comments on commit a840530

Please sign in to comment.