X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fcore%2Fgetopt.cpp;h=0f8886ad746a542e3a40b36ed8e7c2ddcd0c1e19;hp=f88d4a92ac5a2c972eb0fba77cede64766d50126;hb=20c897ece781e18ba54c41fd68e232ce566a938d;hpb=9be92503cda27dffd8c3219ec4cfadaee37b6369 diff --git a/source/core/getopt.cpp b/source/core/getopt.cpp index f88d4a9..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),