]> git.stg.codes - stg.git/blobdiff - stargazer/corps_impl.h
Remove some more std::list.
[stg.git] / stargazer / corps_impl.h
index 3765c5c1959aa67a9022e43949b6cb8f58d33615..aa1b33276bb6e9504691a1622fe87b91d003b2a1 100644 (file)
@@ -28,7 +28,7 @@
 #include "stg/noncopyable.h"
 #include "stg/logger.h"
 
-#include <list>
+#include <vector>
 #include <map>
 #include <string>
 
@@ -58,12 +58,12 @@ private:
     CORPORATIONS_IMPL(const CORPORATIONS_IMPL & rvalue);
     CORPORATIONS_IMPL & operator=(const CORPORATIONS_IMPL & rvalue);
 
-    typedef std::list<CORP_CONF>::iterator       crp_iter;
-    typedef std::list<CORP_CONF>::const_iterator const_crp_iter;
+    typedef std::vector<CORP_CONF>::iterator       crp_iter;
+    typedef std::vector<CORP_CONF>::const_iterator const_crp_iter;
 
     bool Read();
 
-    std::list<CORP_CONF> data;
+    std::vector<CORP_CONF> data;
     STORE * store;
     STG_LOGGER & WriteServLog;
     mutable std::map<int, const_crp_iter> searchDescriptors;