summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator3.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-01-14 20:26:44 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-01-18 14:14:36 (GMT)
commitaac44e71e6a6c2630f1c1e61b34cf91aa775dc02 (patch)
tree615249d36a9a30b12669b5d7d0661432a7dff721 /Source/cmLocalUnixMakefileGenerator3.cxx
parentf3e92d281682ee482b1425675b9fccd372cd01f3 (diff)
downloadCMake-aac44e71e6a6c2630f1c1e61b34cf91aa775dc02.zip
CMake-aac44e71e6a6c2630f1c1e61b34cf91aa775dc02.tar.gz
CMake-aac44e71e6a6c2630f1c1e61b34cf91aa775dc02.tar.bz2
Convert raw loops to vector member insert.
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.cxx')
-rw-r--r--Source/cmLocalUnixMakefileGenerator3.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx
index ebaee37..46279fa 100644
--- a/Source/cmLocalUnixMakefileGenerator3.cxx
+++ b/Source/cmLocalUnixMakefileGenerator3.cxx
@@ -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());
}
}