diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-09-22 01:34:49 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-09-22 01:34:49 +0300 |
commit | 3dcf21babe03cee5080a25e787e1d7e72124288e (patch) | |
tree | 7051c6beddd3e7e1de960bb84e46601db8e2e5c4 /src/playerrelations.cpp | |
parent | c217b7141df580b686a0eef085bd0eb0a8e6771a (diff) | |
download | manaverse-3dcf21babe03cee5080a25e787e1d7e72124288e.tar.gz manaverse-3dcf21babe03cee5080a25e787e1d7e72124288e.tar.bz2 manaverse-3dcf21babe03cee5080a25e787e1d7e72124288e.tar.xz manaverse-3dcf21babe03cee5080a25e787e1d7e72124288e.zip |
Add final keyword to most classes.
Diffstat (limited to 'src/playerrelations.cpp')
-rw-r--r-- | src/playerrelations.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
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<PlayerRelationsListener *> 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::pair<std::string, PlayerRelation *>, std::map<std::string, PlayerRelation *> *> { @@ -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, |