X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fcore%2Fgetopt.h;h=4f53cc2ddcafd2b4fbabb19be9e4150120d9bb6d;hp=53c9ddf2f0100681099df40466e125914e5e74b3;hb=7e11b20594ae05177fe36701422a0faf6120c0b0;hpb=9c6c946ed658abd50be9d597cb2c722592d660ae diff --git a/source/core/getopt.h b/source/core/getopt.h index 53c9ddf..4f53cc2 100644 --- a/source/core/getopt.h +++ b/source/core/getopt.h @@ -141,8 +141,10 @@ private: { data.push_back(lexical_cast(a)); } }; + typedef std::list OptionList; + bool help; - std::list opts; + OptionList opts; std::vector args; public: