client/*: add "noexcept"

This commit is contained in:
Max Kellermann
2017-12-20 10:38:29 +01:00
parent 7094d88958
commit 5f9d4a02a5
5 changed files with 30 additions and 30 deletions

View File

@@ -22,7 +22,7 @@
#include "Log.hxx"
void
Client::SetExpired()
Client::SetExpired() noexcept
{
if (IsExpired())
return;
@@ -32,7 +32,7 @@ Client::SetExpired()
}
void
Client::OnTimeout()
Client::OnTimeout() noexcept
{
if (!IsExpired()) {
assert(!idle_waiting);