[clang-tidy] use override instead of virtual

Found with modernize-use-override

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2020-01-31 19:37:53 -08:00
parent 0b2444450f
commit b64fdae938
38 changed files with 56 additions and 56 deletions

View File

@@ -71,7 +71,7 @@ public:
private:
/* virtual methods from class SocketMonitor */
bool OnSocketReady(unsigned flags) noexcept {
bool OnSocketReady(unsigned flags) noexcept override {
received = ToAvahiWatchEvent(flags);
callback(this, GetSocket().Get(), received, userdata);
received = AvahiWatchEvent(0);