client/Process: add noexcept

This commit is contained in:
Max Kellermann 2019-04-03 20:04:31 +02:00
parent 4a745a399f
commit 9f79d034b3
2 changed files with 3 additions and 3 deletions

View File

@ -35,6 +35,6 @@ extern size_t client_max_command_list_size;
extern size_t client_max_output_buffer_size; extern size_t client_max_output_buffer_size;
CommandResult CommandResult
client_process_line(Client &client, char *line); client_process_line(Client &client, char *line) noexcept;
#endif #endif

View File

@ -30,7 +30,7 @@
static CommandResult static CommandResult
client_process_command_list(Client &client, bool list_ok, client_process_command_list(Client &client, bool list_ok,
std::list<std::string> &&list) std::list<std::string> &&list) noexcept
{ {
CommandResult ret = CommandResult::OK; CommandResult ret = CommandResult::OK;
unsigned num = 0; unsigned num = 0;
@ -51,7 +51,7 @@ client_process_command_list(Client &client, bool list_ok,
} }
CommandResult CommandResult
client_process_line(Client &client, char *line) client_process_line(Client &client, char *line) noexcept
{ {
CommandResult ret; CommandResult ret;