summaryrefslogtreecommitdiff
path: root/src/gui/setup_relations.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-22 01:34:49 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-22 01:34:49 +0300
commit3dcf21babe03cee5080a25e787e1d7e72124288e (patch)
tree7051c6beddd3e7e1de960bb84e46601db8e2e5c4 /src/gui/setup_relations.cpp
parentc217b7141df580b686a0eef085bd0eb0a8e6771a (diff)
downloadmanaverse-3dcf21babe03cee5080a25e787e1d7e72124288e.tar.gz
manaverse-3dcf21babe03cee5080a25e787e1d7e72124288e.tar.bz2
manaverse-3dcf21babe03cee5080a25e787e1d7e72124288e.tar.xz
manaverse-3dcf21babe03cee5080a25e787e1d7e72124288e.zip
Add final keyword to most classes.
Diffstat (limited to 'src/gui/setup_relations.cpp')
-rw-r--r--src/gui/setup_relations.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/setup_relations.cpp b/src/gui/setup_relations.cpp
index 50a41e3e6..48271f6b7 100644
--- a/src/gui/setup_relations.cpp
+++ b/src/gui/setup_relations.cpp
@@ -72,7 +72,7 @@ static const char *RELATION_NAMES[PlayerRelation::RELATIONS_NR] =
N_("Enemy")
};
-class PlayerRelationListModel : public gcn::ListModel
+class PlayerRelationListModel final : public gcn::ListModel
{
public:
virtual ~PlayerRelationListModel()
@@ -91,7 +91,7 @@ public:
}
};
-class PlayerTableModel : public TableModel
+class PlayerTableModel final : public TableModel
{
public:
PlayerTableModel() :
@@ -206,7 +206,7 @@ protected:
/**
* Class for choosing one of the various `what to do when ignoring a player' options
*/
-class IgnoreChoicesListModel : public gcn::ListModel
+class IgnoreChoicesListModel final : public gcn::ListModel
{
public:
virtual ~IgnoreChoicesListModel()