diff options
Diffstat (limited to 'src/net/tmwa/network.cpp')
-rw-r--r-- | src/net/tmwa/network.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/tmwa/network.cpp b/src/net/tmwa/network.cpp index 73288d4d1..a843c9b6b 100644 --- a/src/net/tmwa/network.cpp +++ b/src/net/tmwa/network.cpp @@ -102,7 +102,7 @@ Network::~Network() mInstance = nullptr; } -void Network::registerHandler(MessageHandler *handler) +void Network::registerHandler(MessageHandler *const handler) { if (!handler) return; @@ -113,7 +113,7 @@ void Network::registerHandler(MessageHandler *handler) handler->setNetwork(this); } -void Network::unregisterHandler(MessageHandler *handler) +void Network::unregisterHandler(MessageHandler *const handler) { if (!handler) return; |