diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-04-21 18:57:48 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-04-21 18:57:48 +0300 |
commit | 35cfd460655878c9a615abc8ea1cb2f7577a7f3b (patch) | |
tree | 2b4cb899f7f442912f89de30f4a5ab0add0727ce /src/guild.h | |
parent | cfe4c893ba4ba30379919636d3c508ebf1594e23 (diff) | |
download | plus-35cfd460655878c9a615abc8ea1cb2f7577a7f3b.tar.gz plus-35cfd460655878c9a615abc8ea1cb2f7577a7f3b.tar.bz2 plus-35cfd460655878c9a615abc8ea1cb2f7577a7f3b.tar.xz plus-35cfd460655878c9a615abc8ea1cb2f7577a7f3b.zip |
some other fixes from cpplint.
Diffstat (limited to 'src/guild.h')
-rw-r--r-- | src/guild.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/guild.h b/src/guild.h index d0dd91650..e6f237304 100644 --- a/src/guild.h +++ b/src/guild.h @@ -121,7 +121,7 @@ public: * Get the id of the guild. * @return Returns the id of the guild */ - short getId() const A_WARN_UNUSED + int16_t getId() const A_WARN_UNUSED { return mId; } /** @@ -160,7 +160,7 @@ public: bool getInviteRights() const A_WARN_UNUSED { return mCanInviteUsers; } - void setRights(const short rights); + void setRights(const int16_t rights); bool isMember(const GuildMember *const member) const A_WARN_UNUSED; @@ -176,7 +176,7 @@ public: std::string getPos(int id) const A_WARN_UNUSED; - static Guild *getGuild(const short id) A_WARN_UNUSED; + static Guild *getGuild(const int16_t id) A_WARN_UNUSED; const PositionsMap &getPositions() const A_WARN_UNUSED { return mPositions; } @@ -202,12 +202,12 @@ private: /** * Constructor with guild id passed to it. */ - explicit Guild(const short id); + explicit Guild(const int16_t id); typedef std::vector<GuildMember*> MemberList; MemberList mMembers; std::string mName; - short mId; + int16_t mId; bool mCanInviteUsers; int mEmblemId; PositionsMap mPositions; |