Skip to content

Commit

Permalink
Fixes warnings on missing virtual dtors
Browse files Browse the repository at this point in the history
  • Loading branch information
2hdddg committed Oct 25, 2024
1 parent c3328bb commit 3d84254
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zen/MainLoop.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@
#include <poll.h>

#include <atomic>
#include <functional>
#include <map>
#include <memory>
#include <mutex>
#include <string>

class IoHandler {
public:
virtual ~IoHandler() {}
// Return true if read cases handler to be dirty
virtual bool OnRead() = 0;
};

class NotificationHandler {
public:
virtual ~NotificationHandler() {}
virtual void OnChanged() = 0;
virtual void OnAlerted() = 0;
};
Expand Down

0 comments on commit 3d84254

Please sign in to comment.