X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fcore%2Fgetopt.cpp;h=0f8886ad746a542e3a40b36ed8e7c2ddcd0c1e19;hp=6d96f0b335a568801170f79394ed7886acae1d0b;hb=20c897ece781e18ba54c41fd68e232ce566a938d;hpb=a742e766dda1c04ba6f8c6b552a1b007ff3eb0ca diff --git a/source/core/getopt.cpp b/source/core/getopt.cpp index 6d96f0b..0f8886a 100644 --- a/source/core/getopt.cpp +++ b/source/core/getopt.cpp @@ -105,7 +105,7 @@ void GetOpt::operator()(unsigned argc, const char *const *argv) else args_raw.push_back(argv[i++]); } - + for(; isize(), ' '), (*i)->get_help()); } - + return result; } -GetOpt::OptionImpl::OptionImpl(char s, const std::string &l, const Store &t, ArgType a): +GetOpt::OptionImpl::OptionImpl(char s, const string &l, const Store &t, ArgType a): shrt(s), lng(l), arg_type(a),