diff options
author | Max Kellermann <max@musicpd.org> | 2019-04-03 20:04:31 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2019-04-03 20:04:31 +0200 |
commit | 9f79d034b34e4253a5768e499d24011a6427c09b (patch) | |
tree | 26d4581f81e375fd0ba3ee0d24bbf4e40f274804 /src/client | |
parent | 4a745a399fe07fc418147a5345ce8b025595ccf4 (diff) |
client/Process: add `noexcept`
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/ClientInternal.hxx | 2 | ||||
-rw-r--r-- | 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<std::string> &&list) + std::list<std::string> &&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; |