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

@@ -142,7 +142,7 @@ private:
void Disconnect();
/* virtual methods from SocketMonitor */
bool OnSocketReady(unsigned flags) override;
bool OnSocketReady(unsigned flags) noexcept override;
/* virtual methods from IdleMonitor */
void OnIdle() override;
@@ -459,7 +459,7 @@ ProxyDatabase::Disconnect()
}
bool
ProxyDatabase::OnSocketReady(gcc_unused unsigned flags)
ProxyDatabase::OnSocketReady(gcc_unused unsigned flags) noexcept
{
assert(connection != nullptr);