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

@@ -69,8 +69,9 @@ public:
delete w;
}
protected:
virtual bool OnSocketReady(unsigned flags) {
private:
/* virtual methods from class SocketMonitor */
bool OnSocketReady(unsigned flags) noexcept {
received = ToAvahiWatchEvent(flags);
callback(this, Get().Get(), received, userdata);
received = AvahiWatchEvent(0);