diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-02-18 21:14:26 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-02-20 20:36:57 (GMT) |
commit | 416df93aa93d0a633f0e7354d0562934f676768b (patch) | |
tree | 11937ca00d29012dad0f84e5ab7b93ee374de257 /Source/cmMakefile.cxx | |
parent | 37b88d348a20921c835ce7aa99f6db62271503a7 (diff) | |
download | CMake-416df93aa93d0a633f0e7354d0562934f676768b.zip CMake-416df93aa93d0a633f0e7354d0562934f676768b.tar.gz CMake-416df93aa93d0a633f0e7354d0562934f676768b.tar.bz2 |
Convert some raw loops to cmWrap.
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r-- | Source/cmMakefile.cxx | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 6fd569e..3c92fca 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -213,13 +213,7 @@ cmMakefile::~cmMakefile() void cmMakefile::PrintStringVector(const char* s, const std::vector<std::string>& v) const { - std::cout << s << ": ( \n"; - for(std::vector<std::string>::const_iterator i = v.begin(); - i != v.end(); ++i) - { - std::cout << *i << " "; - } - std::cout << " )\n"; + std::cout << s << ": ( \n" << cmWrap('"', v, '"', " ") << ")\n"; } void cmMakefile |