]> git.stg.codes - stg.git/blobdiff - stargazer/admins_impl.h
Remove some more std::list.
[stg.git] / stargazer / admins_impl.h
index 03aa4ece97ed9a14463e9c511d66ed928635d6ea..d54a48c52a0c006598184f1b93d9bf664490baa1 100644 (file)
@@ -40,7 +40,7 @@
 #include "stg/noncopyable.h"
 #include "stg/logger.h"
 
 #include "stg/noncopyable.h"
 #include "stg/logger.h"
 
-#include <list>
+#include <vector>
 #include <map>
 #include <string>
 
 #include <map>
 #include <string>
 
@@ -73,14 +73,14 @@ private:
     ADMINS_IMPL(const ADMINS_IMPL & rvalue);
     ADMINS_IMPL & operator=(const ADMINS_IMPL & rvalue);
 
     ADMINS_IMPL(const ADMINS_IMPL & rvalue);
     ADMINS_IMPL & operator=(const ADMINS_IMPL & rvalue);
 
-    typedef std::list<ADMIN_IMPL>::iterator admin_iter;
-    typedef std::list<ADMIN_IMPL>::const_iterator const_admin_iter;
+    typedef std::vector<ADMIN_IMPL>::iterator admin_iter;
+    typedef std::vector<ADMIN_IMPL>::const_iterator const_admin_iter;
 
     int             Read();
 
     ADMIN_IMPL              stg;
     ADMIN_IMPL              noAdmin;
 
     int             Read();
 
     ADMIN_IMPL              stg;
     ADMIN_IMPL              noAdmin;
-    std::list<ADMIN_IMPL>   data;
+    std::vector<ADMIN_IMPL> data;
     STORE *                 store;
     STG_LOGGER &            WriteServLog;
     mutable std::map<int, const_admin_iter> searchDescriptors;
     STORE *                 store;
     STG_LOGGER &            WriteServLog;
     mutable std::map<int, const_admin_iter> searchDescriptors;