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/gui/setup_relations.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui/setup_relations.cpp') 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() -- cgit v1.2.3-70-g09d2