summaryrefslogtreecommitdiff
path: root/src/being/being.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-23 01:48:40 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-23 01:48:40 +0300
commit6257baccabe0f4477e7d3165e52ddf714dcff540 (patch)
tree2b14e89c60c78998ea1048ca34a21160dc7f6870 /src/being/being.h
parentb50eee3c4571c4a4657bc14c2935067d833bb801 (diff)
downloadmv-6257baccabe0f4477e7d3165e52ddf714dcff540.tar.gz
mv-6257baccabe0f4477e7d3165e52ddf714dcff540.tar.bz2
mv-6257baccabe0f4477e7d3165e52ddf714dcff540.tar.xz
mv-6257baccabe0f4477e7d3165e52ddf714dcff540.zip
Add const attribute to being classes.
Diffstat (limited to 'src/being/being.h')
-rw-r--r--src/being/being.h6
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;