event/SocketMonitor: add "noexcept"

This commit is contained in:
Max Kellermann
2017-11-10 20:20:07 +01:00
parent 9d4020501c
commit 59a8836924
21 changed files with 61 additions and 54 deletions

View File

@@ -446,7 +446,7 @@ NfsConnection::Service(unsigned flags)
}
bool
NfsConnection::OnSocketReady(unsigned flags)
NfsConnection::OnSocketReady(unsigned flags) noexcept
{
assert(GetEventLoop().IsInside());
assert(deferred_close.empty());

View File

@@ -230,7 +230,7 @@ private:
int Service(unsigned flags);
/* virtual methods from SocketMonitor */
virtual bool OnSocketReady(unsigned flags) override;
bool OnSocketReady(unsigned flags) noexcept override;
/* callback for #mount_timeout_event */
void OnMountTimeout();