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

@@ -408,7 +408,7 @@ HttpdClient::OnSocketReady(unsigned flags) noexcept
}
BufferedSocket::InputResult
HttpdClient::OnSocketInput(void *data, size_t length)
HttpdClient::OnSocketInput(void *data, size_t length) noexcept
{
if (state == State::RESPONSE) {
LogWarning(httpd_output_domain,
@@ -449,13 +449,13 @@ HttpdClient::OnSocketInput(void *data, size_t length)
}
void
HttpdClient::OnSocketError(std::exception_ptr ep)
HttpdClient::OnSocketError(std::exception_ptr ep) noexcept
{
LogError(ep);
}
void
HttpdClient::OnSocketClosed()
HttpdClient::OnSocketClosed() noexcept
{
LockClose();
}