From 962f182fcc989ec587282e44f889188ce241ba31 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 2 Sep 2012 14:05:30 +0300 Subject: Add const to more classes. --- src/net/net.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net/net.cpp') diff --git a/src/net/net.cpp b/src/net/net.cpp index bfa46d086..1f8195f06 100644 --- a/src/net/net.cpp +++ b/src/net/net.cpp @@ -204,7 +204,7 @@ void connectToServer(const ServerInfo &server) void unload() { - GeneralHandler *handler = getGeneralHandler(); + GeneralHandler *const handler = getGeneralHandler(); if (handler) handler->unload(); } -- cgit v1.2.3-60-g2f50