summaryrefslogtreecommitdiff
path: root/src/net/ea/playerhandler.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/ea/playerhandler.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/ea/playerhandler.h')
-rw-r--r--src/net/ea/playerhandler.h7
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;