From fa378412565f98a1ce6d438425ca34b20aaf223a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 19 Oct 2014 17:55:52 +0300 Subject: Add static in tradehandler. --- src/net/tmwa/tradehandler.cpp | 2 +- src/net/tmwa/tradehandler.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net/tmwa') diff --git a/src/net/tmwa/tradehandler.cpp b/src/net/tmwa/tradehandler.cpp index 4ee77a7ec..12e6b94ab 100644 --- a/src/net/tmwa/tradehandler.cpp +++ b/src/net/tmwa/tradehandler.cpp @@ -156,7 +156,7 @@ void TradeHandler::cancel() const createOutPacket(CMSG_TRADE_CANCEL_REQUEST); } -void TradeHandler::processTradeRequest(Net::MessageIn &msg) const +void TradeHandler::processTradeRequest(Net::MessageIn &msg) { processTradeRequestContinue(msg.readString(24, "name")); } diff --git a/src/net/tmwa/tradehandler.h b/src/net/tmwa/tradehandler.h index 34b67cbd5..715c69838 100644 --- a/src/net/tmwa/tradehandler.h +++ b/src/net/tmwa/tradehandler.h @@ -55,7 +55,7 @@ class TradeHandler final : public MessageHandler, public Ea::TradeHandler void cancel() const override final; protected: - void processTradeRequest(Net::MessageIn &msg) const; + static void processTradeRequest(Net::MessageIn &msg); static void processTradeItemAdd(Net::MessageIn &msg); -- cgit v1.2.3-70-g09d2