summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-17 22:44:25 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-17 22:44:25 +0300
commit1e38e414e15c57daf0ac852748c5b16290165090 (patch)
tree886cab0c49486b7ca12c2265f027b9455960fd6c /src/net
parent73271c8b5e39d01c34064db8a4529e31d36cf0aa (diff)
downloadmv-1e38e414e15c57daf0ac852748c5b16290165090.tar.gz
mv-1e38e414e15c57daf0ac852748c5b16290165090.tar.bz2
mv-1e38e414e15c57daf0ac852748c5b16290165090.tar.xz
mv-1e38e414e15c57daf0ac852748c5b16290165090.zip
Add static in mailhandler.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/eathena/mailhandler.cpp2
-rw-r--r--src/net/eathena/mailhandler.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/net/eathena/mailhandler.cpp b/src/net/eathena/mailhandler.cpp
index 24eb24a66..29f7d8fd7 100644
--- a/src/net/eathena/mailhandler.cpp
+++ b/src/net/eathena/mailhandler.cpp
@@ -59,7 +59,7 @@ void MailHandler::handleMessage(Net::MessageIn &msg)
}
}
-void MailHandler::processMailOpen(Net::MessageIn &msg) const
+void MailHandler::processMailOpen(Net::MessageIn &msg)
{
const int flag = msg.readInt32("flag");
switch (flag)
diff --git a/src/net/eathena/mailhandler.h b/src/net/eathena/mailhandler.h
index b6e4090ad..e279e0f26 100644
--- a/src/net/eathena/mailhandler.h
+++ b/src/net/eathena/mailhandler.h
@@ -57,7 +57,7 @@ class MailHandler final : public MessageHandler, public Net::MailHandler
std::string message) override final;
protected:
- void processMailOpen(Net::MessageIn &msg) const;
+ static void processMailOpen(Net::MessageIn &msg);
};
} // namespace EAthena