summaryrefslogtreecommitdiffstats
path: root/Source/CPack/cmCPackGenerator.cxx
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2017-08-25 21:25:09 (GMT)
committerBrad King <brad.king@kitware.com>2017-08-30 15:07:05 (GMT)
commit2b4c32c95f9cd3282ee834a2d7eeba9ab56eff0b (patch)
tree23d2e31296e0d358290e976d9341e3c1b227c484 /Source/CPack/cmCPackGenerator.cxx
parent82d9bbf2b713de4db2810c202db26c4b18a22e9c (diff)
downloadCMake-2b4c32c95f9cd3282ee834a2d7eeba9ab56eff0b.zip
CMake-2b4c32c95f9cd3282ee834a2d7eeba9ab56eff0b.tar.gz
CMake-2b4c32c95f9cd3282ee834a2d7eeba9ab56eff0b.tar.bz2
clang-format: format all code as Cpp11
Diffstat (limited to 'Source/CPack/cmCPackGenerator.cxx')
-rw-r--r--Source/CPack/cmCPackGenerator.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/CPack/cmCPackGenerator.cxx b/Source/CPack/cmCPackGenerator.cxx
index b65eb64..44c7915 100644
--- a/Source/CPack/cmCPackGenerator.cxx
+++ b/Source/CPack/cmCPackGenerator.cxx
@@ -313,7 +313,7 @@ int cmCPackGenerator::InstallProjectViaInstalledDirectories(
const std::string& tempDir = tempInstallDirectory;
for (it = installDirectoriesVector.begin();
it != installDirectoriesVector.end(); ++it) {
- std::vector<std::pair<std::string, std::string> > symlinkedFiles;
+ std::vector<std::pair<std::string, std::string>> symlinkedFiles;
cmCPackLogger(cmCPackLog::LOG_DEBUG, "Find files" << std::endl);
cmsys::Glob gl;
std::string top = *it;
@@ -377,8 +377,7 @@ int cmCPackGenerator::InstallProjectViaInstalledDirectories(
}
/* rebuild symlinks in the installed tree */
if (!symlinkedFiles.empty()) {
- std::vector<std::pair<std::string, std::string> >::iterator
- symlinkedIt;
+ std::vector<std::pair<std::string, std::string>>::iterator symlinkedIt;
std::string curDir = cmSystemTools::GetCurrentWorkingDirectory();
std::string goToDir = tempDir;
goToDir += "/" + subdir;