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/gui/setup_relations.cpp | |
parent | c217b7141df580b686a0eef085bd0eb0a8e6771a (diff) | |
download | manaplus-3dcf21babe03cee5080a25e787e1d7e72124288e.tar.gz manaplus-3dcf21babe03cee5080a25e787e1d7e72124288e.tar.bz2 manaplus-3dcf21babe03cee5080a25e787e1d7e72124288e.tar.xz manaplus-3dcf21babe03cee5080a25e787e1d7e72124288e.zip |
Add final keyword to most classes.
Diffstat (limited to 'src/gui/setup_relations.cpp')
-rw-r--r-- | src/gui/setup_relations.cpp | 6 |
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() |