diff options
Diffstat (limited to 'src/gui/windows')
-rw-r--r-- | src/gui/windows/worldselectdialog.cpp | 2 | ||||
-rw-r--r-- | src/gui/windows/worldselectdialog.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/worldselectdialog.cpp b/src/gui/windows/worldselectdialog.cpp index a80c56085..919440a40 100644 --- a/src/gui/windows/worldselectdialog.cpp +++ b/src/gui/windows/worldselectdialog.cpp @@ -42,7 +42,7 @@ extern WorldInfo **server_info; -WorldSelectDialog::WorldSelectDialog(Worlds worlds) : +WorldSelectDialog::WorldSelectDialog(const Worlds &worlds) : // TRANSLATORS: world select dialog name Window(_("Select World"), Modal_false, nullptr, "world.xml"), ActionListener(), diff --git a/src/gui/windows/worldselectdialog.h b/src/gui/windows/worldselectdialog.h index 6d31d2a53..4c6dc0f8c 100644 --- a/src/gui/windows/worldselectdialog.h +++ b/src/gui/windows/worldselectdialog.h @@ -49,7 +49,7 @@ class WorldSelectDialog final : public Window, * * @see Window::Window */ - explicit WorldSelectDialog(Worlds worlds); + explicit WorldSelectDialog(const Worlds &worlds); A_DELETE_COPY(WorldSelectDialog) |