diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-02-22 23:30:25 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-02-22 23:30:25 +0300 |
commit | a3ecadac89eafbacd0c6b3764d5977bcac242c57 (patch) | |
tree | 43306287103833ff3c0816338283e69c4ee3d695 /src/net | |
parent | 24e0a7941965b6130fa008c0783d559c57c91005 (diff) | |
download | mv-a3ecadac89eafbacd0c6b3764d5977bcac242c57.tar.gz mv-a3ecadac89eafbacd0c6b3764d5977bcac242c57.tar.bz2 mv-a3ecadac89eafbacd0c6b3764d5977bcac242c57.tar.xz mv-a3ecadac89eafbacd0c6b3764d5977bcac242c57.zip |
const and other minor changes in commands.cpp
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/eathena/tradehandler.cpp | 2 | ||||
-rw-r--r-- | src/net/eathena/tradehandler.h | 2 | ||||
-rw-r--r-- | src/net/tmwa/tradehandler.cpp | 2 | ||||
-rw-r--r-- | src/net/tmwa/tradehandler.h | 2 | ||||
-rw-r--r-- | src/net/tradehandler.h | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/src/net/eathena/tradehandler.cpp b/src/net/eathena/tradehandler.cpp index 9ed75416e..6db01aa67 100644 --- a/src/net/eathena/tradehandler.cpp +++ b/src/net/eathena/tradehandler.cpp @@ -93,7 +93,7 @@ void TradeHandler::handleMessage(Net::MessageIn &msg) } } -void TradeHandler::request(Being *being) +void TradeHandler::request(const Being *const being) { if (!being) return; diff --git a/src/net/eathena/tradehandler.h b/src/net/eathena/tradehandler.h index 395f9337a..0cd826ca2 100644 --- a/src/net/eathena/tradehandler.h +++ b/src/net/eathena/tradehandler.h @@ -42,7 +42,7 @@ class TradeHandler final : public MessageHandler, public Ea::TradeHandler void handleMessage(Net::MessageIn &msg); - void request(Being *being); + void request(const Being *const being); void respond(bool accept); diff --git a/src/net/tmwa/tradehandler.cpp b/src/net/tmwa/tradehandler.cpp index 12ff23daf..a05f28401 100644 --- a/src/net/tmwa/tradehandler.cpp +++ b/src/net/tmwa/tradehandler.cpp @@ -95,7 +95,7 @@ void TradeHandler::handleMessage(Net::MessageIn &msg) BLOCK_END("TradeHandler::handleMessage") } -void TradeHandler::request(Being *being) +void TradeHandler::request(const Being *const being) { if (!being) return; diff --git a/src/net/tmwa/tradehandler.h b/src/net/tmwa/tradehandler.h index d96d325a6..dfa5840b0 100644 --- a/src/net/tmwa/tradehandler.h +++ b/src/net/tmwa/tradehandler.h @@ -42,7 +42,7 @@ class TradeHandler final : public MessageHandler, public Ea::TradeHandler void handleMessage(Net::MessageIn &msg); - void request(Being *being); + void request(const Being *const being); void respond(bool accept); diff --git a/src/net/tradehandler.h b/src/net/tradehandler.h index e7cfc2925..2eeaaf635 100644 --- a/src/net/tradehandler.h +++ b/src/net/tradehandler.h @@ -37,7 +37,7 @@ class TradeHandler virtual ~TradeHandler() { } - virtual void request(Being *being A_UNUSED) + virtual void request(const Being *const being A_UNUSED) { } virtual void respond(bool accept A_UNUSED) |