summaryrefslogtreecommitdiff
path: root/src/net/ea/loginhandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-04-02 12:26:23 +0300
committerAndrei Karas <akaras@inbox.ru>2015-04-02 12:26:23 +0300
commit124e28787a66fc1ae882afbb5711b08620b51563 (patch)
tree5f172652494234e6caae74cf04a2cd4d0083cbf0 /src/net/ea/loginhandler.h
parent48746ecb8cd94270f143cc7d722188d2e77c3101 (diff)
downloadmanaplus-124e28787a66fc1ae882afbb5711b08620b51563.tar.gz
manaplus-124e28787a66fc1ae882afbb5711b08620b51563.tar.bz2
manaplus-124e28787a66fc1ae882afbb5711b08620b51563.tar.xz
manaplus-124e28787a66fc1ae882afbb5711b08620b51563.zip
Remove useless virtual keywords.
Diffstat (limited to 'src/net/ea/loginhandler.h')
-rw-r--r--src/net/ea/loginhandler.h34
1 files changed, 15 insertions, 19 deletions
diff --git a/src/net/ea/loginhandler.h b/src/net/ea/loginhandler.h
index b2d57574d..1dbf97b1c 100644
--- a/src/net/ea/loginhandler.h
+++ b/src/net/ea/loginhandler.h
@@ -49,41 +49,37 @@ class LoginHandler notfinal : public Net::LoginHandler
int supportedOptionalActions() const override A_WARN_UNUSED
{ return Net::RegistrationOptions::SetGenderOnRegister; }
- virtual bool isRegistrationEnabled() const
- override final A_WARN_UNUSED;
+ bool isRegistrationEnabled() const override final A_WARN_UNUSED;
- virtual void getRegistrationDetails() const override final;
+ void getRegistrationDetails() const override final;
- virtual unsigned int getMaxPasswordLength() const
- override A_WARN_UNUSED
+ unsigned int getMaxPasswordLength() const override A_WARN_UNUSED
{ return 24; }
- virtual void loginAccount(LoginData *const loginData)
- const override final;
+ void loginAccount(LoginData *const loginData) const override final;
- virtual void chooseServer(const unsigned int server,
- const bool persistentIp) const override;
+ void chooseServer(const unsigned int server,
+ const bool persistentIp) const override;
- virtual void registerAccount(const LoginData *const loginData)
- const override final;
+ void registerAccount(const LoginData *const loginData)
+ const override final;
- virtual const Worlds &getWorlds() const override final A_WARN_UNUSED;
+ const Worlds &getWorlds() const override final A_WARN_UNUSED;
- virtual void clearWorlds() override final;
+ void clearWorlds() override final;
virtual ServerInfo *getCharServer() const A_WARN_UNUSED = 0;
const Token &getToken() const A_WARN_UNUSED
{ return mToken; }
- virtual void logout() const override final;
+ void logout() const override final;
- virtual void changeEmail(const std::string &email)
- const override final;
+ void changeEmail(const std::string &email) const override final;
- virtual void unregisterAccount(const std::string &username,
- const std::string &password)
- const override final;
+ void unregisterAccount(const std::string &username,
+ const std::string &password)
+ const override final;
static void processUpdateHost(Net::MessageIn &msg);