From 1814650ad896a0f9684d279fa5843771e767748a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 24 Oct 2013 12:17:35 +0300 Subject: add final keyword to net files. --- src/net/eathena/loginhandler.h | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'src/net/eathena/loginhandler.h') diff --git a/src/net/eathena/loginhandler.h b/src/net/eathena/loginhandler.h index f7c136e39..d8556af63 100644 --- a/src/net/eathena/loginhandler.h +++ b/src/net/eathena/loginhandler.h @@ -43,25 +43,26 @@ 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 { return SetGenderOnRegister; } - 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); @@ -72,7 +73,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 EAthena -- cgit v1.2.3-70-g09d2