]> git.tdb.fi Git - libs/core.git/blobdiff - source/core/getopt.h
Use C++11 features with containers
[libs/core.git] / source / core / getopt.h
index 3b579a664feff1caec0786de762b305647e5fe78..27ce4cf2fdb05824b3834eb0d972a7192ec3a1fd 100644 (file)
@@ -203,12 +203,9 @@ private:
                { data.push_back(lexical_cast<typename T::value_type>(a)); }
        };
 
-       typedef std::list<OptionImpl *> OptionList;
-       typedef std::list<ArgumentImpl *> ArgumentList;
-
        bool help;
-       OptionList opts;
-       ArgumentList args;
+       std::list<OptionImpl *> opts;
+       std::list<ArgumentImpl *> args;
        std::vector<std::string> args_raw;
 
 public: