diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-01 23:56:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-02 14:28:17 +0300 |
commit | 520a495c466793c29f3e721634dfe6cc616b8ede (patch) | |
tree | 749b67f5d4df83f6f4997dabeb66ec394eabccd7 /src/net/ea | |
parent | f9030497b6196ce2fadb6b6ada5d784be227d9a6 (diff) | |
download | manaplus-520a495c466793c29f3e721634dfe6cc616b8ede.tar.gz manaplus-520a495c466793c29f3e721634dfe6cc616b8ede.tar.bz2 manaplus-520a495c466793c29f3e721634dfe6cc616b8ede.tar.xz manaplus-520a495c466793c29f3e721634dfe6cc616b8ede.zip |
Add missing const.
Diffstat (limited to 'src/net/ea')
-rw-r--r-- | src/net/ea/loginhandler.cpp | 2 | ||||
-rw-r--r-- | src/net/ea/loginhandler.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/net/ea/loginhandler.cpp b/src/net/ea/loginhandler.cpp index 174263dcd..af86aaf93 100644 --- a/src/net/ea/loginhandler.cpp +++ b/src/net/ea/loginhandler.cpp @@ -93,7 +93,7 @@ void LoginHandler::chooseServer(const unsigned int server) const client->setState(STATE_UPDATE); } -void LoginHandler::registerAccount(LoginData *const loginData1) const +void LoginHandler::registerAccount(const LoginData *const loginData1) const { if (!loginData1) return; diff --git a/src/net/ea/loginhandler.h b/src/net/ea/loginhandler.h index a6e7160cb..8619d4c34 100644 --- a/src/net/ea/loginhandler.h +++ b/src/net/ea/loginhandler.h @@ -63,7 +63,7 @@ class LoginHandler : public Net::LoginHandler virtual void chooseServer(const unsigned int server) const override; - virtual void registerAccount(LoginData *const loginData) + virtual void registerAccount(const LoginData *const loginData) const override final; virtual const Worlds &getWorlds() const override final A_WARN_UNUSED; |