diff options
author | Rosen Penev <rosenp@gmail.com> | 2020-01-31 19:37:53 -0800 |
---|---|---|
committer | Rosen Penev <rosenp@gmail.com> | 2020-01-31 21:27:26 -0800 |
commit | b64fdae938871976f0fdb6ab0d1a6f623ae9cd64 (patch) | |
tree | f14661c6749632066cbf33c095c633a2128f4fd6 /src/zeroconf | |
parent | 0b2444450f1dd3e249529d14418abf89579ad09a (diff) |
[clang-tidy] use override instead of virtual
Found with modernize-use-override
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'src/zeroconf')
-rw-r--r-- | src/zeroconf/AvahiPoll.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zeroconf/AvahiPoll.cxx b/src/zeroconf/AvahiPoll.cxx index 835b4f988..3c1111e49 100644 --- a/src/zeroconf/AvahiPoll.cxx +++ b/src/zeroconf/AvahiPoll.cxx @@ -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); |