summaryrefslogtreecommitdiff
path: root/src/playerrelations.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-22 02:34:48 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-22 21:22:21 +0300
commit4a5cdfe19cbb50e3b58149c6e91312366ee4b771 (patch)
tree7a2bbae95b5f6642731f2a1257913baad71d028d /src/playerrelations.cpp
parent3dcf21babe03cee5080a25e787e1d7e72124288e (diff)
downloadplus-4a5cdfe19cbb50e3b58149c6e91312366ee4b771.tar.gz
plus-4a5cdfe19cbb50e3b58149c6e91312366ee4b771.tar.bz2
plus-4a5cdfe19cbb50e3b58149c6e91312366ee4b771.tar.xz
plus-4a5cdfe19cbb50e3b58149c6e91312366ee4b771.zip
Add override keyword to most overriden methods.
Diffstat (limited to 'src/playerrelations.cpp')
-rw-r--r--src/playerrelations.cpp15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/playerrelations.cpp b/src/playerrelations.cpp
index b163f57b0..7e92feb5f 100644
--- a/src/playerrelations.cpp
+++ b/src/playerrelations.cpp
@@ -72,7 +72,7 @@ class PlayerConfSerialiser final :
public:
virtual ConfigurationObject *writeConfigItem(
std::pair<std::string, PlayerRelation *> value,
- ConfigurationObject *cobj)
+ ConfigurationObject *cobj) override
{
if (!cobj || !value.second)
return nullptr;
@@ -85,7 +85,7 @@ public:
virtual std::map<std::string, PlayerRelation *> *
readConfigItem(ConfigurationObject *const cobj,
- std::map<std::string, PlayerRelation *> *container)
+ std::map<std::string, PlayerRelation *> *container) override
{
if (!cobj)
return container;
@@ -474,7 +474,7 @@ public:
}
virtual void ignore(Being *const being A_UNUSED,
- const unsigned int flags A_UNUSED)
+ const unsigned int flags A_UNUSED) override
{
}
};
@@ -489,7 +489,8 @@ public:
mShortName = "dotdotdot";
}
- virtual void ignore(Being *const being, const unsigned int flags A_UNUSED)
+ virtual void ignore(Being *const being,
+ const unsigned int flags A_UNUSED) override
{
if (!being)
return;
@@ -510,7 +511,8 @@ public:
mShortName = "blinkname";
}
- virtual void ignore(Being *const being, const unsigned int flags A_UNUSED)
+ virtual void ignore(Being *const being,
+ const unsigned int flags A_UNUSED) override
{
if (!being)
return;
@@ -532,7 +534,8 @@ public:
mShortName = shortname;
}
- virtual void ignore(Being *const being, const unsigned int flags A_UNUSED)
+ virtual void ignore(Being *const being,
+ const unsigned int flags A_UNUSED) override
{
if (!being)
return;