1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 15:17:36 +00:00

FileManager+FileOperation: Switch to east const

(And some adjustments based on MaxWipfli's feedback)
This commit is contained in:
Sam Atkins 2021-06-17 11:23:12 +01:00 committed by Andreas Kling
parent 5217875f6a
commit ca039e6ba1
10 changed files with 93 additions and 93 deletions

View file

@ -14,7 +14,7 @@
namespace FileUtils {
void delete_path(const String& path, GUI::Window* parent_window)
void delete_path(String const& path, GUI::Window* parent_window)
{
struct stat st;
if (lstat(path.characters(), &st)) {
@ -43,7 +43,7 @@ void delete_path(const String& path, GUI::Window* parent_window)
}
}
void delete_paths(const Vector<String>& paths, bool should_confirm, GUI::Window* parent_window)
void delete_paths(Vector<String> const& paths, bool should_confirm, GUI::Window* parent_window)
{
String message;
if (paths.size() == 1) {