diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-03-08 13:51:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-03-08 17:55:40 +0300 |
commit | 9247c5a23757e01ef7ee91dd5655fcab177e5e6d (patch) | |
tree | 38e947cdaa6f1ec33651560b81851b7a255a58ac /src/net | |
parent | fcf53dd7d524c2204f39269be5768a1919daef42 (diff) | |
download | manaverse-9247c5a23757e01ef7ee91dd5655fcab177e5e6d.tar.gz manaverse-9247c5a23757e01ef7ee91dd5655fcab177e5e6d.tar.bz2 manaverse-9247c5a23757e01ef7ee91dd5655fcab177e5e6d.tar.xz manaverse-9247c5a23757e01ef7ee91dd5655fcab177e5e6d.zip |
fix code style.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/ea/loginhandler.cpp | 2 | ||||
-rw-r--r-- | src/net/ea/loginhandler.h | 2 | ||||
-rw-r--r-- | src/net/loginhandler.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/net/ea/loginhandler.cpp b/src/net/ea/loginhandler.cpp index df1516b8b..174263dcd 100644 --- a/src/net/ea/loginhandler.cpp +++ b/src/net/ea/loginhandler.cpp @@ -291,7 +291,7 @@ void LoginHandler::processLoginError(Net::MessageIn &msg) const client->setState(STATE_ERROR); } -void LoginHandler::loginOrRegister(LoginData *const data) +void LoginHandler::loginOrRegister(LoginData *const data) const { if (!data) return; diff --git a/src/net/ea/loginhandler.h b/src/net/ea/loginhandler.h index ec1610013..a6e7160cb 100644 --- a/src/net/ea/loginhandler.h +++ b/src/net/ea/loginhandler.h @@ -96,7 +96,7 @@ class LoginHandler : public Net::LoginHandler virtual void processServerVersion(Net::MessageIn &msg) = 0; - void loginOrRegister(LoginData *const data) override final; + void loginOrRegister(LoginData *const data) const override final; protected: LoginHandler(); diff --git a/src/net/loginhandler.h b/src/net/loginhandler.h index 949ef5b67..6e832aeda 100644 --- a/src/net/loginhandler.h +++ b/src/net/loginhandler.h @@ -99,7 +99,7 @@ class LoginHandler virtual void clearWorlds() = 0; - virtual void loginOrRegister(LoginData *const data) = 0; + virtual void loginOrRegister(LoginData *const data) const = 0; virtual ~LoginHandler() { } |