diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-18 21:52:15 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-18 21:52:15 +0300 |
commit | 78744020528ef6231e1606bbe2e8c53011c77935 (patch) | |
tree | 3055821a8dabab37c660fdc3b99309f970158b69 /src/net/tmwa/messagehandler.cpp | |
parent | c0d5142d1ed98b62ad87603fa9d2620dce256bd7 (diff) | |
download | plus-78744020528ef6231e1606bbe2e8c53011c77935.tar.gz plus-78744020528ef6231e1606bbe2e8c53011c77935.tar.bz2 plus-78744020528ef6231e1606bbe2e8c53011c77935.tar.xz plus-78744020528ef6231e1606bbe2e8c53011c77935.zip |
add const to net classes.
Diffstat (limited to 'src/net/tmwa/messagehandler.cpp')
-rw-r--r-- | src/net/tmwa/messagehandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/tmwa/messagehandler.cpp b/src/net/tmwa/messagehandler.cpp index 6de8ea645..66aa36e56 100644 --- a/src/net/tmwa/messagehandler.cpp +++ b/src/net/tmwa/messagehandler.cpp @@ -43,7 +43,7 @@ MessageHandler::~MessageHandler() mNetwork->unregisterHandler(this); } -void MessageHandler::setNetwork(Network *network) +void MessageHandler::setNetwork(Network *const network) { assert(!(network && mNetwork)); mNetwork = network; |