summaryrefslogtreecommitdiff
path: root/src/net/loginhandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-20 21:19:59 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-20 21:19:59 +0300
commita9f6959a96395edc64ff57bf5ba1d75cca8e86c3 (patch)
treef6975bea7e87380ee7d063ccfb2efbc835341c91 /src/net/loginhandler.h
parent3e8fecc9a62afff0054fa0fa23af86c8ef15a1c9 (diff)
downloadmanaverse-a9f6959a96395edc64ff57bf5ba1d75cca8e86c3.tar.gz
manaverse-a9f6959a96395edc64ff57bf5ba1d75cca8e86c3.tar.bz2
manaverse-a9f6959a96395edc64ff57bf5ba1d75cca8e86c3.tar.xz
manaverse-a9f6959a96395edc64ff57bf5ba1d75cca8e86c3.zip
Add missing const in net directory.
Diffstat (limited to 'src/net/loginhandler.h')
-rw-r--r--src/net/loginhandler.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/loginhandler.h b/src/net/loginhandler.h
index b906a3de7..95fcf887b 100644
--- a/src/net/loginhandler.h
+++ b/src/net/loginhandler.h
@@ -40,11 +40,11 @@ class LoginHandler notfinal
const ServerInfo &getServer() const A_WARN_UNUSED
{ return mServer; }
- virtual void connect() = 0;
+ virtual void connect() const = 0;
virtual bool isConnected() const A_WARN_UNUSED = 0;
- virtual void disconnect() = 0;
+ virtual void disconnect() const = 0;
virtual bool isRegistrationEnabled() const A_WARN_UNUSED = 0;
@@ -83,7 +83,7 @@ class LoginHandler notfinal
virtual const Worlds &getWorlds() const A_WARN_UNUSED = 0;
- virtual void clearWorlds() = 0;
+ virtual void clearWorlds() const = 0;
virtual void loginOrRegister(LoginData *const data) const = 0;