diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-02-18 22:14:26 +0100 |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-02-20 21:36:57 +0100 |
commit | 416df93aa93d0a633f0e7354d0562934f676768b (patch) | |
tree | 11937ca00d29012dad0f84e5ab7b93ee374de257 /Source/cmComputeLinkDepends.cxx | |
parent | 37b88d348a20921c835ce7aa99f6db62271503a7 (diff) | |
download | cmake-416df93aa93d0a633f0e7354d0562934f676768b.tar.gz |
Convert some raw loops to cmWrap.
Diffstat (limited to 'Source/cmComputeLinkDepends.cxx')
-rw-r--r-- | Source/cmComputeLinkDepends.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/cmComputeLinkDepends.cxx b/Source/cmComputeLinkDepends.cxx index 86526905a1..be28b2f54a 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()); } |