summaryrefslogtreecommitdiff
path: root/src/net/tmwa/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/tmwa/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/tmwa/loginhandler.h')
-rw-r--r--src/net/tmwa/loginhandler.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/net/tmwa/loginhandler.h b/src/net/tmwa/loginhandler.h
index 0f7adec48..ed167bb8c 100644
--- a/src/net/tmwa/loginhandler.h
+++ b/src/net/tmwa/loginhandler.h
@@ -50,13 +50,13 @@ class LoginHandler final : public Ea::LoginHandler
const std::string &restrict newPassword)
const override final;
- ServerInfo *getCharServer() const override final A_WARN_UNUSED;
+ ServerInfo *getCharServer() const override final A_CONST A_WARN_UNUSED;
- void sendVersion() const override final;
+ void sendVersion() const override final A_CONST;
- void ping() const override final;
+ void ping() const override final A_CONST;
- static void requestUpdateHosts();
+ static void requestUpdateHosts() A_CONST;
private:
void sendLoginRegister(const std::string &restrict username,