summaryrefslogtreecommitdiffstats
path: root/Source/cmFindBase.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-02-12 19:53:43 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-02-20 20:26:18 (GMT)
commita281809384cc19cc9a7d1726b243020b380b9395 (patch)
tree6fdf2de4e88230d0425acf06a8b459b0177ef978 /Source/cmFindBase.cxx
parent76207b0861478318115d65c2e983f4d88c937724 (diff)
downloadCMake-a281809384cc19cc9a7d1726b243020b380b9395.zip
CMake-a281809384cc19cc9a7d1726b243020b380b9395.tar.gz
CMake-a281809384cc19cc9a7d1726b243020b380b9395.tar.bz2
Use cmJoin where possible.
Diffstat (limited to 'Source/cmFindBase.cxx')
-rw-r--r--Source/cmFindBase.cxx13
1 files changed, 2 insertions, 11 deletions
diff --git a/Source/cmFindBase.cxx b/Source/cmFindBase.cxx
index 6e55533..fd3aa0b 100644
--- a/Source/cmFindBase.cxx
+++ b/Source/cmFindBase.cxx
@@ -350,19 +350,10 @@ void cmFindBase::PrintFindStuff()
std::cerr << "NoCMakeSystemPath " << this->NoCMakeSystemPath << "\n";
std::cerr << "EnvironmentPath " << this->EnvironmentPath << "\n";
std::cerr << "CMakePathName " << this->CMakePathName << "\n";
- std::cerr << "Names ";
- for(unsigned int i =0; i < this->Names.size(); ++i)
- {
- std::cerr << this->Names[i] << " ";
- }
- std::cerr << "\n";
+ std::cerr << "Names " << cmJoin(this->Names, " ") << "\n";
std::cerr << "\n";
std::cerr << "SearchPathSuffixes ";
- for(unsigned int i =0; i < this->SearchPathSuffixes.size(); ++i)
- {
- std::cerr << this->SearchPathSuffixes[i] << "\n";
- }
- std::cerr << "\n";
+ std::cerr << cmJoin(this->SearchPathSuffixes, "\n") << "\n";
std::cerr << "SearchPaths\n";
for(std::vector<std::string>::const_iterator i = this->SearchPaths.begin();
i != this->SearchPaths.end(); ++i)