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/questswindow.cpp | |
parent | c217b7141df580b686a0eef085bd0eb0a8e6771a (diff) | |
download | plus-3dcf21babe03cee5080a25e787e1d7e72124288e.tar.gz plus-3dcf21babe03cee5080a25e787e1d7e72124288e.tar.bz2 plus-3dcf21babe03cee5080a25e787e1d7e72124288e.tar.xz plus-3dcf21babe03cee5080a25e787e1d7e72124288e.zip |
Add final keyword to most classes.
Diffstat (limited to 'src/gui/questswindow.cpp')
-rw-r--r-- | src/gui/questswindow.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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() : |