diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/worldselectdialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/worldselectdialog.cpp b/src/gui/worldselectdialog.cpp index 8fe05e2e6..e8ed35ab2 100644 --- a/src/gui/worldselectdialog.cpp +++ b/src/gui/worldselectdialog.cpp @@ -59,12 +59,12 @@ class WorldListModel final : public gcn::ListModel virtual ~WorldListModel() { } - int getNumberOfElements() + int getNumberOfElements() override { return static_cast<int>(mWorlds.size()); } - std::string getElementAt(int i) + std::string getElementAt(int i) override { const WorldInfo *const si = mWorlds[i]; if (si) |