From 9f79d034b34e4253a5768e499d24011a6427c09b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 3 Apr 2019 20:04:31 +0200 Subject: [PATCH] client/Process: add `noexcept` --- src/client/ClientInternal.hxx | 2 +- src/client/ClientProcess.cxx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/client/ClientInternal.hxx b/src/client/ClientInternal.hxx index 87a1f403b..37b5925f2 100644 --- a/src/client/ClientInternal.hxx +++ b/src/client/ClientInternal.hxx @@ -35,6 +35,6 @@ extern size_t client_max_command_list_size; extern size_t client_max_output_buffer_size; CommandResult -client_process_line(Client &client, char *line); +client_process_line(Client &client, char *line) noexcept; #endif diff --git a/src/client/ClientProcess.cxx b/src/client/ClientProcess.cxx index 547aa8c71..eeb72d35a 100644 --- a/src/client/ClientProcess.cxx +++ b/src/client/ClientProcess.cxx @@ -30,7 +30,7 @@ static CommandResult client_process_command_list(Client &client, bool list_ok, - std::list &&list) + std::list &&list) noexcept { CommandResult ret = CommandResult::OK; unsigned num = 0; @@ -51,7 +51,7 @@ client_process_command_list(Client &client, bool list_ok, } CommandResult -client_process_line(Client &client, char *line) +client_process_line(Client &client, char *line) noexcept { CommandResult ret;