diff options
author | Sam Atkins <atkinssj@gmail.com> | 2021-06-17 11:23:12 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-07-22 12:48:44 +0200 |
commit | ca039e6ba10dab08d25e53afee931207453fa7d2 (patch) | |
tree | f8b90240553779b54958632a4d3cda2dfbb87858 /Userland/Services | |
parent | 5217875f6ae204e6b23862ab28549364599a9729 (diff) | |
download | serenity-ca039e6ba10dab08d25e53afee931207453fa7d2.zip |
FileManager+FileOperation: Switch to east const
(And some adjustments based on MaxWipfli's feedback)
Diffstat (limited to 'Userland/Services')
-rw-r--r-- | Userland/Services/FileOperation/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Services/FileOperation/main.cpp b/Userland/Services/FileOperation/main.cpp index ae05ac45da..91f82d8d37 100644 --- a/Userland/Services/FileOperation/main.cpp +++ b/Userland/Services/FileOperation/main.cpp @@ -12,7 +12,7 @@ #include <sched.h> #include <sys/stat.h> -static int perform_copy(const String& source, const String& destination); +static int perform_copy(String const& source, String const& destination); static void report_error(String message); static void report_warning(String message); @@ -56,7 +56,7 @@ static void report_warning(String message) outln("WARN {}", message); } -static bool collect_work_items(const String& source, const String& destination, Vector<WorkItem>& items) +static bool collect_work_items(String const& source, String const& destination, Vector<WorkItem>& items) { struct stat st = {}; if (stat(source.characters(), &st) < 0) { @@ -98,7 +98,7 @@ static bool collect_work_items(const String& source, const String& destination, return true; } -int perform_copy(const String& source, const String& destination) +int perform_copy(String const& source, String const& destination) { Vector<WorkItem> items; |