event/BufferedSocket: add "noexcept"

This commit is contained in:
Max Kellermann
2017-12-20 10:42:17 +01:00
parent 5f9d4a02a5
commit a17a481e30
7 changed files with 23 additions and 23 deletions

View File

@@ -22,7 +22,7 @@
#include "Log.hxx"
void
Client::OnSocketError(std::exception_ptr ep)
Client::OnSocketError(std::exception_ptr ep) noexcept
{
FormatError(ep, "error on client %d", num);
@@ -30,7 +30,7 @@ Client::OnSocketError(std::exception_ptr ep)
}
void
Client::OnSocketClosed()
Client::OnSocketClosed() noexcept
{
SetExpired();
}