From 1b719ca0b81e3c5df44ef8280255995418a2ec70 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 28 Mar 2013 02:09:23 +0300 Subject: Add missing override to chathandler. --- src/net/ea/chathandler.h | 3 ++- src/net/eathena/chathandler.h | 16 ++++++++-------- src/net/tmwa/chathandler.h | 14 +++++++------- 3 files changed, 17 insertions(+), 16 deletions(-) (limited to 'src/net') diff --git a/src/net/ea/chathandler.h b/src/net/ea/chathandler.h index 416589e86..824baba58 100644 --- a/src/net/ea/chathandler.h +++ b/src/net/ea/chathandler.h @@ -40,7 +40,8 @@ class ChatHandler : public Net::ChatHandler A_DELETE_COPY(ChatHandler) - void me(const std::string &text, const std::string &channel) const; + void me(const std::string &text, + const std::string &channel) const override; virtual void processWhisperResponse(Net::MessageIn &msg); diff --git a/src/net/eathena/chathandler.h b/src/net/eathena/chathandler.h index 737b3269c..6840116da 100644 --- a/src/net/eathena/chathandler.h +++ b/src/net/eathena/chathandler.h @@ -40,23 +40,23 @@ class ChatHandler final : public MessageHandler, public Ea::ChatHandler A_DELETE_COPY(ChatHandler) - void handleMessage(Net::MessageIn &msg); + void handleMessage(Net::MessageIn &msg) override; void talk(const std::string &text, - const std::string &channel) const; + const std::string &channel) const override; - void talkRaw(const std::string &text) const; + void talkRaw(const std::string &text) const override; void privateMessage(const std::string &recipient, - const std::string &text); + const std::string &text) override; - void who() const; + void who() const override; - void sendRaw(const std::string &args) const; + void sendRaw(const std::string &args) const override; - void ignoreAll() const; + void ignoreAll() const override; - void unIgnoreAll() const; + void unIgnoreAll() const override; static void processRaw(MessageOut &outMsg, const std::string &line); }; diff --git a/src/net/tmwa/chathandler.h b/src/net/tmwa/chathandler.h index d11b6ba32..1cee20774 100644 --- a/src/net/tmwa/chathandler.h +++ b/src/net/tmwa/chathandler.h @@ -40,22 +40,22 @@ class ChatHandler final : public MessageHandler, public Ea::ChatHandler A_DELETE_COPY(ChatHandler) - void handleMessage(Net::MessageIn &msg); + void handleMessage(Net::MessageIn &msg) override; - void talk(const std::string &text, const std::string &channel) const; + void talk(const std::string &text, const std::string &channel) const override; - void talkRaw(const std::string &text) const; + void talkRaw(const std::string &text) const override; void privateMessage(const std::string &recipient, - const std::string &text); + const std::string &text) override; - void who() const; + void who() const override; void sendRaw(const std::string &args) const; - void ignoreAll() const; + void ignoreAll() const override; - void unIgnoreAll() const; + void unIgnoreAll() const override; static void processRaw(MessageOut &outMsg, const std::string &line); }; -- cgit v1.2.3-70-g09d2