Browse Source

Fix calling verifyArgs()

improve/error-messages
Martchus 4 years ago
parent
commit
55649d750a
  1. 2
      application/argumentparser.cpp

2
application/argumentparser.cpp

@ -843,7 +843,7 @@ void ArgumentParser::parseArgsExt(int argc, const char *const *argv, ParseArgume
*/
void ArgumentParser::readArgs(int argc, const char *const *argv)
{
IF_DEBUG_BUILD(verifyArgs(m_mainArgs, std::vector<char>(), std::vector<const char *>());)
IF_DEBUG_BUILD(verifyArgs(m_mainArgs);)
m_actualArgc = 0;
// the first argument is the executable name

Loading…
Cancel
Save