diff options
Diffstat (limited to 'src/gui/widgets/namesmodel.h')
-rw-r--r-- | src/gui/widgets/namesmodel.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/gui/widgets/namesmodel.h b/src/gui/widgets/namesmodel.h index dc694fc46..e1dbf0a89 100644 --- a/src/gui/widgets/namesmodel.h +++ b/src/gui/widgets/namesmodel.h @@ -21,12 +21,10 @@ #ifndef GUI_WIDGETS_NAMESMODEL_H #define GUI_WIDGETS_NAMESMODEL_H -//#include "guichanfwd.h" +#include "utils/stringvector.h" #include <guichan/listmodel.hpp> -#include <vector> - class NamesModel : public gcn::ListModel { public: @@ -38,14 +36,14 @@ class NamesModel : public gcn::ListModel virtual std::string getElementAt(int i); - std::vector<std::string> &getNames() + StringVect &getNames() { return mNames; } size_t size() { return mNames.size(); } protected: - std::vector<std::string> mNames; + StringVect mNames; }; #endif |