From cc57dcd0e05a9c37fa4281c0190776a36b277e20 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 29 Mar 2013 21:55:55 +0300 Subject: fix code style. --- src/net/eathena/generalhandler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net/eathena/generalhandler.cpp') diff --git a/src/net/eathena/generalhandler.cpp b/src/net/eathena/generalhandler.cpp index ad59ce664..637bd7369 100644 --- a/src/net/eathena/generalhandler.cpp +++ b/src/net/eathena/generalhandler.cpp @@ -192,14 +192,14 @@ void GeneralHandler::reload() mNetwork->disconnect(); static_cast(mLoginHandler.get())->clearWorlds(); - CharServerHandler *charHandler = static_cast( + CharServerHandler *const charHandler = static_cast( mCharServerHandler.get()); charHandler->setCharCreateDialog(nullptr); charHandler->setCharSelectDialog(nullptr); static_cast(mPartyHandler.get())->reload(); } -void GeneralHandler::reloadPartially() +void GeneralHandler::reloadPartially() const { static_cast(mPartyHandler.get())->reload(); } -- cgit v1.2.3-70-g09d2