diff options
Diffstat (limited to 'src/interfaces/subscriber.hpp')
-rw-r--r-- | src/interfaces/subscriber.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/interfaces/subscriber.hpp b/src/interfaces/subscriber.hpp index 17d87ef..6641be7 100644 --- a/src/interfaces/subscriber.hpp +++ b/src/interfaces/subscriber.hpp @@ -4,5 +4,7 @@ template <typename Context> class ISubscriber { public: + virtual ~ISubscriber() = default; + virtual void update(const Context &context) noexcept = 0; }; |