From 851cc4e95093cb7bd1adce99be95a864d68f8d38 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 26 Sep 2013 13:54:12 +0300 Subject: remove useless virtual keywords. --- src/being/playerrelations.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/being/playerrelations.cpp') 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 *> { public: - virtual ConfigurationObject *writeConfigItem( + ConfigurationObject *writeConfigItem( const std::pair &value, ConfigurationObject *const cobj) const override { @@ -84,7 +84,7 @@ public: return cobj; } - virtual std::map * + std::map * readConfigItem(const ConfigurationObject *const cobj, std::map *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; -- cgit v1.2.3-60-g2f50