diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-02-12 19:53:43 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-02-20 20:26:18 (GMT) |
commit | a281809384cc19cc9a7d1726b243020b380b9395 (patch) | |
tree | 6fdf2de4e88230d0425acf06a8b459b0177ef978 /Source/cmFindBase.cxx | |
parent | 76207b0861478318115d65c2e983f4d88c937724 (diff) | |
download | CMake-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.cxx | 13 |
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) |