Skip to content
Snippets Groups Projects
Commit 98a45272 authored by Andy Cedilnik's avatar Andy Cedilnik
Browse files

STYLE: Only allocate as much space as needed

parent 15257b6f
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
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