diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-12-23 01:48:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-12-23 01:48:40 +0300 |
commit | 6257baccabe0f4477e7d3165e52ddf714dcff540 (patch) | |
tree | 2b14e89c60c78998ea1048ca34a21160dc7f6870 /src/being/being.h | |
parent | b50eee3c4571c4a4657bc14c2935067d833bb801 (diff) | |
download | manaplus-6257baccabe0f4477e7d3165e52ddf714dcff540.tar.gz manaplus-6257baccabe0f4477e7d3165e52ddf714dcff540.tar.bz2 manaplus-6257baccabe0f4477e7d3165e52ddf714dcff540.tar.xz manaplus-6257baccabe0f4477e7d3165e52ddf714dcff540.zip |
Add const attribute to being classes.
Diffstat (limited to 'src/being/being.h')
-rw-r--r-- | src/being/being.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/being/being.h b/src/being/being.h index 0f094c908..a2ca63cf0 100644 --- a/src/being/being.h +++ b/src/being/being.h @@ -236,7 +236,7 @@ class Being notfinal : public ActorSprite, */ void setGuildName(const std::string &name); - void setGuildPos(const std::string &pos); + void setGuildPos(const std::string &pos) A_CONST; /** * Adds a guild to the being. @@ -859,9 +859,9 @@ class Being notfinal : public ActorSprite, void setLook(const uint16_t look); - static uint8_t genderToInt(const GenderT sex) A_WARN_UNUSED; + static uint8_t genderToInt(const GenderT sex) A_CONST A_WARN_UNUSED; - static GenderT intToGender(const uint8_t sex) A_WARN_UNUSED; + static GenderT intToGender(const uint8_t sex) A_CONST A_WARN_UNUSED; NextSoundInfo mNextSound; |