diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-20 21:19:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-20 21:19:59 +0300 |
commit | a9f6959a96395edc64ff57bf5ba1d75cca8e86c3 (patch) | |
tree | f6975bea7e87380ee7d063ccfb2efbc835341c91 /src/net/loginhandler.h | |
parent | 3e8fecc9a62afff0054fa0fa23af86c8ef15a1c9 (diff) | |
download | manaverse-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.h | 6 |
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; |