From 3a3cce8eed7e43faa8c9f606e56bb43ba3bd9451 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Fri, 22 Jan 2021 23:11:53 +0100 Subject: Service: drop const from handle method --- include/erebos/message.h | 2 +- include/erebos/service.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/erebos/message.h b/include/erebos/message.h index 66d221c..70a11bc 100644 --- a/include/erebos/message.h +++ b/include/erebos/message.h @@ -78,7 +78,7 @@ public: virtual ~DirectMessageService(); UUID uuid() const override; - void handle(Context &) const override; + void handle(Context &) override; typedef std::function ThreadWatcher; void onUpdate(ThreadWatcher); diff --git a/include/erebos/service.h b/include/erebos/service.h index fa7f105..cec5ea0 100644 --- a/include/erebos/service.h +++ b/include/erebos/service.h @@ -31,7 +31,7 @@ public: }; virtual UUID uuid() const = 0; - virtual void handle(Context &) const = 0; + virtual void handle(Context &) = 0; }; } -- cgit v1.2.3