Make ArgParse::parseArgs's signature follow main's

master
Denes Matetelki 6 years ago
parent 35d226703c
commit 0250d43bbe

@ -72,7 +72,7 @@ void ArgParse::addArgument(const std::string arg,
void ArgParse::parseArgs(int argc,
const char* argv[])
char* argv[])
{
std::list<std::string> argList;
for (int i = 0; i < argc; ++i )
@ -519,4 +519,4 @@ ArgParse::typeToString(const ValueType type, std::string valueName) const
default:
return "";
}
}
}

@ -71,7 +71,7 @@ public:
* @throw std::logic_error If the addArgument was bad.
*/
void parseArgs(int argc,
const char* argv[]);
char* argv[]);
void parseArgs(const std::list<std::string> argList);

Loading…
Cancel
Save