diff options
Diffstat (limited to 'src/interfaces/observable.hpp')
-rw-r--r-- | src/interfaces/observable.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/interfaces/observable.hpp b/src/interfaces/observable.hpp index ca8ffda..7dbd50a 100644 --- a/src/interfaces/observable.hpp +++ b/src/interfaces/observable.hpp @@ -8,6 +8,8 @@ template <typename Event> class IObservable { public: + virtual ~IObservable() = default; + virtual void listen() const = 0; virtual void attach(const Event &event, Callback callback) = 0; |