summaryrefslogtreecommitdiff
path: root/src/being/playerrelations.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-26 13:54:12 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-26 14:41:36 +0300
commit851cc4e95093cb7bd1adce99be95a864d68f8d38 (patch)
tree50096efbfea146de63432ca95d1faacdbd62df80 /src/being/playerrelations.cpp
parent476a73f07d4dae7f0cc3c79a44fbd2c2f8c4bf5f (diff)
downloadmv-851cc4e95093cb7bd1adce99be95a864d68f8d38.tar.gz
mv-851cc4e95093cb7bd1adce99be95a864d68f8d38.tar.bz2
mv-851cc4e95093cb7bd1adce99be95a864d68f8d38.tar.xz
mv-851cc4e95093cb7bd1adce99be95a864d68f8d38.zip
remove useless virtual keywords.
Diffstat (limited to 'src/being/playerrelations.cpp')
-rw-r--r--src/being/playerrelations.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/being/playerrelations.cpp b/src/being/playerrelations.cpp
index 7e5807166..fc4889951 100644
--- a/src/being/playerrelations.cpp
+++ b/src/being/playerrelations.cpp
@@ -71,7 +71,7 @@ class PlayerConfSerialiser final :
std::map<std::string, PlayerRelation *> *>
{
public:
- virtual ConfigurationObject *writeConfigItem(
+ ConfigurationObject *writeConfigItem(
const std::pair<std::string, PlayerRelation *> &value,
ConfigurationObject *const cobj) const override
{
@@ -84,7 +84,7 @@ public:
return cobj;
}
- virtual std::map<std::string, PlayerRelation *> *
+ std::map<std::string, PlayerRelation *> *
readConfigItem(const ConfigurationObject *const cobj,
std::map<std::string, PlayerRelation *>
*const container) const override
@@ -467,8 +467,8 @@ public:
mShortName = PLAYER_IGNORE_STRATEGY_NOP;
}
- virtual void ignore(Being *const being A_UNUSED,
- const unsigned int flags A_UNUSED) const override
+ void ignore(Being *const being A_UNUSED,
+ const unsigned int flags A_UNUSED) const override
{
}
};
@@ -484,8 +484,8 @@ public:
mShortName = "dotdotdot";
}
- virtual void ignore(Being *const being,
- const unsigned int flags A_UNUSED) const override
+ void ignore(Being *const being,
+ const unsigned int flags A_UNUSED) const override
{
if (!being)
return;
@@ -507,8 +507,8 @@ public:
mShortName = "blinkname";
}
- virtual void ignore(Being *const being,
- const unsigned int flags A_UNUSED) const override
+ void ignore(Being *const being,
+ const unsigned int flags A_UNUSED) const override
{
if (!being)
return;
@@ -530,8 +530,8 @@ public:
mShortName = shortname;
}
- virtual void ignore(Being *const being,
- const unsigned int flags A_UNUSED) const override
+ void ignore(Being *const being,
+ const unsigned int flags A_UNUSED) const override
{
if (!being)
return;