From 6257baccabe0f4477e7d3165e52ddf714dcff540 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 23 Dec 2015 01:48:40 +0300 Subject: Add const attribute to being classes. --- src/being/being.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/being/being.h') 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; -- cgit v1.2.3-60-g2f50