diff options
Diffstat (limited to 'Userland/Utilities/paste.cpp')
-rw-r--r-- | Userland/Utilities/paste.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Utilities/paste.cpp b/Userland/Utilities/paste.cpp index 28e03453a2..910dc34a52 100644 --- a/Userland/Utilities/paste.cpp +++ b/Userland/Utilities/paste.cpp @@ -18,7 +18,7 @@ #include <sys/wait.h> #include <unistd.h> -static void spawn_command(const Vector<const char*>& command, const ByteBuffer& data, const char* state) +static void spawn_command(Vector<char const*> const& command, ByteBuffer const& data, char const* state) { auto pipefd = MUST(Core::System::pipe2(0)); pid_t pid = MUST(Core::System::fork()); @@ -53,7 +53,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) bool print_type = false; bool no_newline = false; bool watch = false; - Vector<const char*> watch_command; + Vector<char const*> watch_command; Core::ArgsParser args_parser; args_parser.set_general_help("Paste from the clipboard to stdout."); @@ -70,7 +70,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) if (watch) { watch_command.append(nullptr); - clipboard.on_change = [&](const String&) { + clipboard.on_change = [&](String const&) { // Technically there's a race here... auto data_and_type = clipboard.fetch_data_and_type(); if (data_and_type.mime_type.is_null()) { |