diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-03-29 21:55:55 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-03-29 21:55:55 +0300 |
commit | cc57dcd0e05a9c37fa4281c0190776a36b277e20 (patch) | |
tree | b39bd665a52337ec4c05d909567c7be30e67fcbc /src/net/eathena/generalhandler.cpp | |
parent | 2223d15c84a660dd10dc131455416e2f49368409 (diff) | |
download | manaplus-cc57dcd0e05a9c37fa4281c0190776a36b277e20.tar.gz manaplus-cc57dcd0e05a9c37fa4281c0190776a36b277e20.tar.bz2 manaplus-cc57dcd0e05a9c37fa4281c0190776a36b277e20.tar.xz manaplus-cc57dcd0e05a9c37fa4281c0190776a36b277e20.zip |
fix code style.
Diffstat (limited to 'src/net/eathena/generalhandler.cpp')
-rw-r--r-- | src/net/eathena/generalhandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<LoginHandler*>(mLoginHandler.get())->clearWorlds(); - CharServerHandler *charHandler = static_cast<CharServerHandler*>( + CharServerHandler *const charHandler = static_cast<CharServerHandler*>( mCharServerHandler.get()); charHandler->setCharCreateDialog(nullptr); charHandler->setCharSelectDialog(nullptr); static_cast<PartyHandler*>(mPartyHandler.get())->reload(); } -void GeneralHandler::reloadPartially() +void GeneralHandler::reloadPartially() const { static_cast<PartyHandler*>(mPartyHandler.get())->reload(); } |