diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-17 22:44:25 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-17 22:44:25 +0300 |
commit | 1e38e414e15c57daf0ac852748c5b16290165090 (patch) | |
tree | 886cab0c49486b7ca12c2265f027b9455960fd6c | |
parent | 73271c8b5e39d01c34064db8a4529e31d36cf0aa (diff) | |
download | manaverse-1e38e414e15c57daf0ac852748c5b16290165090.tar.gz manaverse-1e38e414e15c57daf0ac852748c5b16290165090.tar.bz2 manaverse-1e38e414e15c57daf0ac852748c5b16290165090.tar.xz manaverse-1e38e414e15c57daf0ac852748c5b16290165090.zip |
Add static in mailhandler.
-rw-r--r-- | src/net/eathena/mailhandler.cpp | 2 | ||||
-rw-r--r-- | src/net/eathena/mailhandler.h | 2 |
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 |