[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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user