Convert raw loops to vector member insert.

This commit is contained in:
Stephen Kelly
2015-01-14 21:26:44 +01:00
parent f3e92d2816
commit aac44e71e6
2 changed files with 4 additions and 10 deletions
+2 -5
View File
@@ -738,11 +738,8 @@ cmLocalUnixMakefileGenerator3
// Add the output to the local help if requested.
if(in_help)
{
for (std::vector<std::string>::const_iterator i = outputs.begin();
i != outputs.end(); ++i)
{
this->LocalHelp.push_back(*i);
}
this->LocalHelp.insert(this->LocalHelp.end(),
outputs.begin(), outputs.end());
}
}