From 78744020528ef6231e1606bbe2e8c53011c77935 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 18 Sep 2013 21:52:15 +0300 Subject: add const to net classes. --- src/net/tmwa/messagehandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net/tmwa/messagehandler.cpp') 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; -- cgit v1.2.3-70-g09d2