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/questswindow.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui/questswindow.cpp') diff --git a/src/gui/questswindow.cpp b/src/gui/questswindow.cpp index 092fdc6c3..66a7d50cf 100644 --- a/src/gui/questswindow.cpp +++ b/src/gui/questswindow.cpp @@ -45,7 +45,7 @@ #include "debug.h" -struct QuestItemText +struct QuestItemText final { QuestItemText(std::string text0, const int type0) : text(text0), type(type0) @@ -56,7 +56,7 @@ struct QuestItemText int type; }; -struct QuestItem +struct QuestItem final { QuestItem() : var(0), completeFlag(-1) @@ -72,7 +72,7 @@ struct QuestItem int completeFlag; }; -class QuestsModel : public ExtendedNamesModel +class QuestsModel final : public ExtendedNamesModel { public: QuestsModel() : -- cgit v1.2.3-60-g2f50