aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/subscriber.hpp
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-03-20 20:37:43 +0100
committerHampusM <hampus@hampusmat.com>2022-06-13 17:56:57 +0200
commit1972939ebde39a3e90a50b021b2322d028f344de (patch)
tree9ee0a7c78f082bec084189906f28dc679a20d339 /src/interfaces/subscriber.hpp
parente6644d6b235005de9ba1b9884472fa5f5d8d6074 (diff)
refactor: move updating status from the move cursor command
Diffstat (limited to 'src/interfaces/subscriber.hpp')
-rw-r--r--src/interfaces/subscriber.hpp2
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;
};