summaryrefslogtreecommitdiffstats
path: root/Source/CPack/cmCPackDebGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-11-23 10:05:50 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-11-23 10:09:54 (GMT)
commit5eb4d7590e0e721b56fc735ab6da35d55ad339d0 (patch)
treee7edc44c5913f7647c46fa1a9df0472b3000ece2 /Source/CPack/cmCPackDebGenerator.cxx
parent2a0c65485854bb6e6a33a7d5acd99c936adacec6 (diff)
downloadCMake-5eb4d7590e0e721b56fc735ab6da35d55ad339d0.zip
CMake-5eb4d7590e0e721b56fc735ab6da35d55ad339d0.tar.gz
CMake-5eb4d7590e0e721b56fc735ab6da35d55ad339d0.tar.bz2
Remove some unneeded c_str calls.
Diffstat (limited to 'Source/CPack/cmCPackDebGenerator.cxx')
-rw-r--r--Source/CPack/cmCPackDebGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CPack/cmCPackDebGenerator.cxx b/Source/CPack/cmCPackDebGenerator.cxx
index c939cd2..0a64bd5 100644
--- a/Source/CPack/cmCPackDebGenerator.cxx
+++ b/Source/CPack/cmCPackDebGenerator.cxx
@@ -390,7 +390,7 @@ int cmCPackDebGenerator::createDeb()
packageFiles.begin();
fileIt != packageFiles.end(); ++ fileIt )
{
- totalSize += cmSystemTools::FileLength(fileIt->c_str());
+ totalSize += cmSystemTools::FileLength(*fileIt);
}
}
out << "Installed-Size: " << (totalSize + 1023) / 1024 << "\n";