summaryrefslogtreecommitdiff
path: root/src/net/tmwa/messagehandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/tmwa/messagehandler.cpp')
-rw-r--r--src/net/tmwa/messagehandler.cpp2
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;