STYLE: Only allocate as much space as needed

This commit is contained in:
Andy Cedilnik 2004-09-23 11:53:55 -04:00
parent 4966d102d6
commit 4b9386751a
1 changed files with 1 additions and 1 deletions

View File

@ -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