STYLE: Only allocate as much space as needed
This commit is contained in:
parent
4966d102d6
commit
4b9386751a
|
@ -322,7 +322,7 @@ int CommandLineArguments::Parse()
|
|||
void CommandLineArguments::GetRemainingArguments(int* argc, char*** argv)
|
||||
{
|
||||
CommandLineArguments::Internal::VectorOfStrings::size_type size
|
||||
= this->Internals->Argv.size() - this->Internals->LastArgument + 1;
|
||||
= this->Internals->Argv.size() - this->Internals->LastArgument;
|
||||
CommandLineArguments::Internal::VectorOfStrings::size_type cc;
|
||||
|
||||
// Copy Argv0 as the first argument
|
||||
|
|
Loading…
Reference in New Issue