]> git.tdb.fi Git - libs/core.git/blobdiff - source/core/getopt.h
Prefer more cache-efficient containers
[libs/core.git] / source / core / getopt.h
index 27ce4cf2fdb05824b3834eb0d972a7192ec3a1fd..405864bb27bfdda1668537a35630550465963482 100644 (file)
@@ -204,8 +204,8 @@ private:
        };
 
        bool help;
-       std::list<OptionImpl *> opts;
-       std::list<ArgumentImpl *> args;
+       std::vector<OptionImpl *> opts;
+       std::vector<ArgumentImpl *> args;
        std::vector<std::string> args_raw;
 
 public: