summaryrefslogtreecommitdiff
path: root/src/playerrelations.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/playerrelations.cpp')
-rw-r--r--src/playerrelations.cpp12
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,