summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-28 02:09:23 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-28 02:09:23 +0300
commit1b719ca0b81e3c5df44ef8280255995418a2ec70 (patch)
tree6213c5833377409e494ab438ed9527335116619d /src
parentff936ce120283ade23d88725c7d38542beca0a93 (diff)
downloadplus-1b719ca0b81e3c5df44ef8280255995418a2ec70.tar.gz
plus-1b719ca0b81e3c5df44ef8280255995418a2ec70.tar.bz2
plus-1b719ca0b81e3c5df44ef8280255995418a2ec70.tar.xz
plus-1b719ca0b81e3c5df44ef8280255995418a2ec70.zip
Add missing override to chathandler.
Diffstat (limited to 'src')
-rw-r--r--src/net/ea/chathandler.h3
-rw-r--r--src/net/eathena/chathandler.h16
-rw-r--r--src/net/tmwa/chathandler.h14
3 files changed, 17 insertions, 16 deletions
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);
};