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/ea/playerhandler.h | |
parent | b226f23946987a649fb50bc6d9df2dd8afa7ade1 (diff) | |
download | plus-b50eee3c4571c4a4657bc14c2935067d833bb801.tar.gz plus-b50eee3c4571c4a4657bc14c2935067d833bb801.tar.bz2 plus-b50eee3c4571c4a4657bc14c2935067d833bb801.tar.xz plus-b50eee3c4571c4a4657bc14c2935067d833bb801.zip |
Add const attribute to net classes.
Diffstat (limited to 'src/net/ea/playerhandler.h')
-rw-r--r-- | src/net/ea/playerhandler.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/net/ea/playerhandler.h b/src/net/ea/playerhandler.h index a04d78ee6..c94e1f4fb 100644 --- a/src/net/ea/playerhandler.h +++ b/src/net/ea/playerhandler.h @@ -42,12 +42,13 @@ class PlayerHandler notfinal : public Net::PlayerHandler A_DELETE_COPY(PlayerHandler) - void decreaseAttribute(const AttributesT attr) const override final; + void decreaseAttribute(const AttributesT attr) const + override final A_CONST; void ignorePlayer(const std::string &player, - const bool ignore) const override final; + const bool ignore) const override final A_CONST; - void ignoreAll(const bool ignore) const override final; + void ignoreAll(const bool ignore) const override final A_CONST; bool canUseMagic() const override final; |