From 35cfd460655878c9a615abc8ea1cb2f7577a7f3b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 21 Apr 2013 18:57:48 +0300 Subject: some other fixes from cpplint. --- src/guild.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/guild.h') 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 MemberList; MemberList mMembers; std::string mName; - short mId; + int16_t mId; bool mCanInviteUsers; int mEmblemId; PositionsMap mPositions; -- cgit v1.2.3-60-g2f50