summaryrefslogtreecommitdiff
path: root/src/guild.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-24 12:19:01 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-24 12:19:01 +0300
commitb8c77348db8b0bf500cb6a13cce75c61a544c500 (patch)
tree5b7eb62121e5dc7d95c5e40b5e4cfa86e02375d8 /src/guild.h
parenta4fb136ebf9272e6254081fa0586ce8b383857d9 (diff)
downloadmanaplus-b8c77348db8b0bf500cb6a13cce75c61a544c500.tar.gz
manaplus-b8c77348db8b0bf500cb6a13cce75c61a544c500.tar.bz2
manaplus-b8c77348db8b0bf500cb6a13cce75c61a544c500.tar.xz
manaplus-b8c77348db8b0bf500cb6a13cce75c61a544c500.zip
add final keyword to all other files.
Diffstat (limited to 'src/guild.h')
-rw-r--r--src/guild.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/guild.h b/src/guild.h
index a5f724e44..b17b7d8e1 100644
--- a/src/guild.h
+++ b/src/guild.h
@@ -50,7 +50,7 @@ public:
void setPos(const int pos)
{ mPos = pos; }
- std::string getAdditionString() const override A_WARN_UNUSED;
+ std::string getAdditionString() const override final A_WARN_UNUSED;
protected:
friend class Guild;
@@ -148,10 +148,10 @@ public:
* Get size of members list.
* @return Returns the number of members in the guild.
*/
- int getNumberOfElements() override A_WARN_UNUSED
+ int getNumberOfElements() override final A_WARN_UNUSED
{ return static_cast<int>(mMembers.size()); }
- Avatar *getAvatarAt(const int i) override A_WARN_UNUSED;
+ Avatar *getAvatarAt(const int i) override final A_WARN_UNUSED;
/**
* Get whether user can invite users to this guild.