client/Process, command/all: add noexcept

Clarify that those can't throw, preparing for the next commit.
This commit is contained in:
Max Kellermann
2019-08-20 20:27:15 +02:00
parent 2bf26a2ff8
commit 9bff5f9e36
4 changed files with 15 additions and 13 deletions

View File

@@ -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;