summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-03-08 13:51:57 +0300
committerAndrei Karas <akaras@inbox.ru>2014-03-08 17:55:40 +0300
commit9247c5a23757e01ef7ee91dd5655fcab177e5e6d (patch)
tree38e947cdaa6f1ec33651560b81851b7a255a58ac /src/net
parentfcf53dd7d524c2204f39269be5768a1919daef42 (diff)
downloadmanaverse-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.cpp2
-rw-r--r--src/net/ea/loginhandler.h2
-rw-r--r--src/net/loginhandler.h2
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()
{ }