summaryrefslogtreecommitdiffstats
path: root/Source/CPack/IFW/cmCPackIFWGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-01-16 00:10:07 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-08-24 18:47:17 (GMT)
commit0e14c7ee6375fcaa975194557523f5a1a8686a8a (patch)
tree716756d302add87c52e65bd79d9772c4d1b059ef /Source/CPack/IFW/cmCPackIFWGenerator.cxx
parentddb7f280ce4e7a76dc66c53e933df9e11ee35e20 (diff)
downloadCMake-0e14c7ee6375fcaa975194557523f5a1a8686a8a.zip
CMake-0e14c7ee6375fcaa975194557523f5a1a8686a8a.tar.gz
CMake-0e14c7ee6375fcaa975194557523f5a1a8686a8a.tar.bz2
Replace 'foo.size() > 0' pattern with !foo.empty().
Diffstat (limited to 'Source/CPack/IFW/cmCPackIFWGenerator.cxx')
-rw-r--r--Source/CPack/IFW/cmCPackIFWGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CPack/IFW/cmCPackIFWGenerator.cxx b/Source/CPack/IFW/cmCPackIFWGenerator.cxx
index 09e123c..43d34ee 100644
--- a/Source/CPack/IFW/cmCPackIFWGenerator.cxx
+++ b/Source/CPack/IFW/cmCPackIFWGenerator.cxx
@@ -191,7 +191,7 @@ int cmCPackIFWGenerator::PackageFiles()
}
}
// TODO: set correct name for multipackages
- if (this->packageFileNames.size() > 0)
+ if (!this->packageFileNames.empty())
{
ifwCmd += " " + packageFileNames[0];
}