diff options
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) |