From 3dcf21babe03cee5080a25e787e1d7e72124288e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 22 Sep 2012 01:34:49 +0300 Subject: Add final keyword to most classes. --- src/playerrelations.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/playerrelations.cpp') diff --git a/src/playerrelations.cpp b/src/playerrelations.cpp index 5f696413b..b163f57b0 100644 --- a/src/playerrelations.cpp +++ b/src/playerrelations.cpp @@ -48,7 +48,7 @@ typedef PlayerRelations::const_iterator PlayerRelationsCIter; typedef std::list PlayerRelationListeners; typedef PlayerRelationListeners::const_iterator PlayerRelationListenersCIter; -class SortPlayersFunctor +class SortPlayersFunctor final { public: bool operator() (const std::string &str1, @@ -65,7 +65,7 @@ class SortPlayersFunctor } playersSorter; // (De)serialisation class -class PlayerConfSerialiser : +class PlayerConfSerialiser final : public ConfigurationListManager, std::map *> { @@ -463,7 +463,7 @@ bool PlayerRelationsManager::checkBadRelation(std::string name) // ignore strategies -class PIS_nothing : public PlayerIgnoreStrategy +class PIS_nothing final : public PlayerIgnoreStrategy { public: PIS_nothing() : @@ -479,7 +479,7 @@ public: } }; -class PIS_dotdotdot : public PlayerIgnoreStrategy +class PIS_dotdotdot final : public PlayerIgnoreStrategy { public: PIS_dotdotdot() : @@ -500,7 +500,7 @@ public: }; -class PIS_blinkname : public PlayerIgnoreStrategy +class PIS_blinkname final : public PlayerIgnoreStrategy { public: PIS_blinkname() : @@ -520,7 +520,7 @@ public: } }; -class PIS_emote : public PlayerIgnoreStrategy +class PIS_emote final : public PlayerIgnoreStrategy { public: PIS_emote(const uint8_t emote_nr, const std::string &description, -- cgit v1.2.3-70-g09d2