From 1e38e414e15c57daf0ac852748c5b16290165090 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 17 Oct 2014 22:44:25 +0300 Subject: Add static in mailhandler. --- src/net/eathena/mailhandler.cpp | 2 +- src/net/eathena/mailhandler.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net/eathena') 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 -- cgit v1.2.3-70-g09d2