Skip to content
Snippets Groups Projects
Commit aec9de6a authored by Ben Boeckel's avatar Ben Boeckel
Browse files

CommandLineArguments: Push the string back, not its C string

Change-Id: I2f02cf1c150019ecef628a322824a52c86c25431
parent e53596b7
No related branches found
No related tags found
No related merge requests found
......@@ -309,7 +309,7 @@ int CommandLineArguments::Parse()
else if ( this->StoreUnusedArgumentsFlag )
{
CommandLineArguments_DEBUG("Store unused argument " << arg);
this->Internals->UnusedArguments.push_back(arg.c_str());
this->Internals->UnusedArguments.push_back(arg);
}
else
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment