diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-24 12:16:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-24 12:16:51 +0300 |
commit | 10be802d2640bad75222736216cdcfcd7fb6a521 (patch) | |
tree | 5bab90179109a101d2a77ee6bd34326b1cd233df /src/gui/windows/worldselectdialog.cpp | |
parent | 67a349cefcb72c7770b98bf645a7eca35695bb2b (diff) | |
download | manaplus-10be802d2640bad75222736216cdcfcd7fb6a521.tar.gz manaplus-10be802d2640bad75222736216cdcfcd7fb6a521.tar.bz2 manaplus-10be802d2640bad75222736216cdcfcd7fb6a521.tar.xz manaplus-10be802d2640bad75222736216cdcfcd7fb6a521.zip |
add final keyword to windows files.
Diffstat (limited to 'src/gui/windows/worldselectdialog.cpp')
-rw-r--r-- | src/gui/windows/worldselectdialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/worldselectdialog.cpp b/src/gui/windows/worldselectdialog.cpp index b3686ee10..e5ddbee6d 100644 --- a/src/gui/windows/worldselectdialog.cpp +++ b/src/gui/windows/worldselectdialog.cpp @@ -57,12 +57,12 @@ class WorldListModel final : public gcn::ListModel ~WorldListModel() { } - int getNumberOfElements() override + int getNumberOfElements() override final { return static_cast<int>(mWorlds.size()); } - std::string getElementAt(int i) override + std::string getElementAt(int i) override final { const WorldInfo *const si = mWorlds[i]; if (si) |