cmCTest: Convert loop to member insert.
This commit is contained in:
parent
93a38a2abc
commit
e6ca1b8274
|
@ -2256,10 +2256,9 @@ int cmCTest::Run(std::vector<std::string> &args, std::string* output)
|
|||
bool SRArgumentSpecified = false;
|
||||
|
||||
// copy the command line
|
||||
for(size_t i=0; i < args.size(); ++i)
|
||||
{
|
||||
this->InitialCommandLineArguments.push_back(args[i]);
|
||||
}
|
||||
this->InitialCommandLineArguments.insert(
|
||||
this->InitialCommandLineArguments.end(),
|
||||
args.begin(), args.end());
|
||||
|
||||
// process the command line arguments
|
||||
for(size_t i=1; i < args.size(); ++i)
|
||||
|
|
Loading…
Reference in New Issue