updated test for argument parser

This commit is contained in:
Erik Frojdh
2019-05-17 10:00:49 +02:00
parent 591ff53b84
commit 3e5d34647e
3 changed files with 13 additions and 59 deletions

View File

@ -20,7 +20,7 @@ void CmdLineParser::Print() {
std::cout << "\n\n";
};
void CmdLineParser::Parse(int argc, char *argv[]) {
void CmdLineParser::Parse(int argc, const char * const argv[]) {
executable_ = argv[0]; //first arg is calling binary
if (argc > 1) {
DecodeIdAndPosition(argv[1]);