diff options
Diffstat (limited to 'src/gui/worldselectdialog.h')
-rw-r--r-- | src/gui/worldselectdialog.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/worldselectdialog.h b/src/gui/worldselectdialog.h index f2b74582..a1150cb8 100644 --- a/src/gui/worldselectdialog.h +++ b/src/gui/worldselectdialog.h @@ -30,7 +30,7 @@ #include <guichan/keylistener.hpp> #include <guichan/listmodel.hpp> -#include <vector> +#include <memory> class LoginData; class WorldListModel; @@ -57,7 +57,7 @@ class WorldSelectDialog : public Window, public gcn::ActionListener, void mouseClicked(gcn::MouseEvent &mouseEvent) override; private: - WorldListModel *mWorldListModel; + std::unique_ptr<WorldListModel> mWorldListModel; gcn::ListBox *mWorldList; gcn::Button *mChangeLoginButton; gcn::Button *mChooseWorld; |