summaryrefslogtreecommitdiffstats
path: root/Source/cmComputeLinkDepends.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-02-18 21:14:26 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-02-20 20:36:57 (GMT)
commit416df93aa93d0a633f0e7354d0562934f676768b (patch)
tree11937ca00d29012dad0f84e5ab7b93ee374de257 /Source/cmComputeLinkDepends.cxx
parent37b88d348a20921c835ce7aa99f6db62271503a7 (diff)
downloadCMake-416df93aa93d0a633f0e7354d0562934f676768b.zip
CMake-416df93aa93d0a633f0e7354d0562934f676768b.tar.gz
CMake-416df93aa93d0a633f0e7354d0562934f676768b.tar.bz2
Convert some raw loops to cmWrap.
Diffstat (limited to 'Source/cmComputeLinkDepends.cxx')
-rw-r--r--Source/cmComputeLinkDepends.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/cmComputeLinkDepends.cxx b/Source/cmComputeLinkDepends.cxx
index 8652690..be28b2f 100644
--- a/Source/cmComputeLinkDepends.cxx
+++ b/Source/cmComputeLinkDepends.cxx
@@ -705,10 +705,7 @@ void cmComputeLinkDepends::DisplayConstraintGraph()
{
EdgeList const& nl = this->EntryConstraintGraph[i];
e << "item " << i << " is [" << this->EntryList[i].Item << "]\n";
- for(EdgeList::const_iterator j = nl.begin(); j != nl.end(); ++j)
- {
- e << " item " << *j << " must follow it\n";
- }
+ e << cmWrap(" item ", nl, " must follow it", "\n") << "\n";
}
fprintf(stderr, "%s\n", e.str().c_str());
}