summaryrefslogtreecommitdiff
path: root/src/net/ea/loginhandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-23 01:48:19 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-23 01:48:19 +0300
commitb50eee3c4571c4a4657bc14c2935067d833bb801 (patch)
tree047ab4a069d61ddbfdf3ee65db22f020ffcf4c11 /src/net/ea/loginhandler.h
parentb226f23946987a649fb50bc6d9df2dd8afa7ade1 (diff)
downloadmanaplus-b50eee3c4571c4a4657bc14c2935067d833bb801.tar.gz
manaplus-b50eee3c4571c4a4657bc14c2935067d833bb801.tar.bz2
manaplus-b50eee3c4571c4a4657bc14c2935067d833bb801.tar.xz
manaplus-b50eee3c4571c4a4657bc14c2935067d833bb801.zip
Add const attribute to net classes.
Diffstat (limited to 'src/net/ea/loginhandler.h')
-rw-r--r--src/net/ea/loginhandler.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/net/ea/loginhandler.h b/src/net/ea/loginhandler.h
index fb9003473..63bf0afc8 100644
--- a/src/net/ea/loginhandler.h
+++ b/src/net/ea/loginhandler.h
@@ -54,21 +54,22 @@ class LoginHandler notfinal : public Net::LoginHandler
void registerAccount(const LoginData *const loginData)
const override final;
- const Worlds &getWorlds() const override final A_WARN_UNUSED;
+ const Worlds &getWorlds() const override final A_CONST A_WARN_UNUSED;
void clearWorlds() override final;
virtual ServerInfo *getCharServer() const A_WARN_UNUSED = 0;
- const Token &getToken() const A_WARN_UNUSED;
+ const Token &getToken() const A_CONST A_WARN_UNUSED;
- void logout() const override final;
+ void logout() const override final A_CONST;
- void changeEmail(const std::string &email) const override final;
+ void changeEmail(const std::string &email) const
+ override final A_CONST;
void unregisterAccount(const std::string &username,
const std::string &password)
- const override final;
+ const override final A_CONST;
void loginOrRegister(LoginData *const data) const override final;