diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-24 12:17:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-24 12:17:35 +0300 |
commit | 1814650ad896a0f9684d279fa5843771e767748a (patch) | |
tree | 5387bdca11a76198c7be67b7009cacd9fc31b0fb /src/net/tmwa/loginhandler.h | |
parent | d6fbc25d16e3f96a20c492904a0dab16f8b4d8fb (diff) | |
download | plus-1814650ad896a0f9684d279fa5843771e767748a.tar.gz plus-1814650ad896a0f9684d279fa5843771e767748a.tar.bz2 plus-1814650ad896a0f9684d279fa5843771e767748a.tar.xz plus-1814650ad896a0f9684d279fa5843771e767748a.zip |
add final keyword to net files.
Diffstat (limited to 'src/net/tmwa/loginhandler.h')
-rw-r--r-- | src/net/tmwa/loginhandler.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/src/net/tmwa/loginhandler.h b/src/net/tmwa/loginhandler.h index 30a0bd286..8eabcfe56 100644 --- a/src/net/tmwa/loginhandler.h +++ b/src/net/tmwa/loginhandler.h @@ -41,24 +41,25 @@ class LoginHandler final : public MessageHandler, public Ea::LoginHandler ~LoginHandler(); - void handleMessage(Net::MessageIn &msg) override; + void handleMessage(Net::MessageIn &msg) override final; - void connect() override; + void connect() override final; - bool isConnected() const override A_WARN_UNUSED; + bool isConnected() const override final A_WARN_UNUSED; - void disconnect() override; + void disconnect() override final; - int supportedOptionalActions() const override A_WARN_UNUSED; + int supportedOptionalActions() const override final A_WARN_UNUSED; - unsigned int getMaxPasswordLength() const override A_WARN_UNUSED + unsigned int getMaxPasswordLength() const override final A_WARN_UNUSED { return 24; } void changePassword(const std::string &username, const std::string &oldPassword, - const std::string &newPassword) const override; + const std::string &newPassword) + const override final; - ServerInfo *getCharServer() const override A_WARN_UNUSED; + ServerInfo *getCharServer() const override final A_WARN_UNUSED; void processServerVersion(Net::MessageIn &msg); @@ -69,7 +70,7 @@ class LoginHandler final : public MessageHandler, public Ea::LoginHandler private: void sendLoginRegister(const std::string &username, const std::string &password, - const std::string &email) const override; + const std::string &email) const override final; }; } // namespace TmwAthena |