diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-12-23 01:48:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-12-23 01:48:19 +0300 |
commit | b50eee3c4571c4a4657bc14c2935067d833bb801 (patch) | |
tree | 047ab4a069d61ddbfdf3ee65db22f020ffcf4c11 /src/net/tmwa/charserverhandler.h | |
parent | b226f23946987a649fb50bc6d9df2dd8afa7ade1 (diff) | |
download | mv-b50eee3c4571c4a4657bc14c2935067d833bb801.tar.gz mv-b50eee3c4571c4a4657bc14c2935067d833bb801.tar.bz2 mv-b50eee3c4571c4a4657bc14c2935067d833bb801.tar.xz mv-b50eee3c4571c4a4657bc14c2935067d833bb801.zip |
Add const attribute to net classes.
Diffstat (limited to 'src/net/tmwa/charserverhandler.h')
-rw-r--r-- | src/net/tmwa/charserverhandler.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/net/tmwa/charserverhandler.h b/src/net/tmwa/charserverhandler.h index b141fc7bc..f80385edb 100644 --- a/src/net/tmwa/charserverhandler.h +++ b/src/net/tmwa/charserverhandler.h @@ -53,7 +53,8 @@ class CharServerHandler final : public Ea::CharServerHandler const std::string &email) override final; void renameCharacter(const BeingId id, - const std::string &newName) override final; + const std::string &newName) override final + A_CONST; void switchCharacter() const override final; @@ -73,11 +74,12 @@ class CharServerHandler final : public Ea::CharServerHandler void setCharCreateDialog(CharCreateDialog *const window) override final; - void changeSlot(const int oldSlot, const int newSlot) override final; + void changeSlot(const int oldSlot, + const int newSlot) override final A_CONST; - void ping() const override final; + void ping() const override final A_CONST; - unsigned int hatSprite() const override final A_WARN_UNUSED; + unsigned int hatSprite() const override final A_CONST A_WARN_UNUSED; }; } // namespace TmwAthena |