diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-11-23 10:05:50 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-11-23 10:09:54 (GMT) |
commit | 5eb4d7590e0e721b56fc735ab6da35d55ad339d0 (patch) | |
tree | e7edc44c5913f7647c46fa1a9df0472b3000ece2 /Source/CPack/cmCPackComponentGroup.cxx | |
parent | 2a0c65485854bb6e6a33a7d5acd99c936adacec6 (diff) | |
download | CMake-5eb4d7590e0e721b56fc735ab6da35d55ad339d0.zip CMake-5eb4d7590e0e721b56fc735ab6da35d55ad339d0.tar.gz CMake-5eb4d7590e0e721b56fc735ab6da35d55ad339d0.tar.bz2 |
Remove some unneeded c_str calls.
Diffstat (limited to 'Source/CPack/cmCPackComponentGroup.cxx')
-rw-r--r-- | Source/CPack/cmCPackComponentGroup.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CPack/cmCPackComponentGroup.cxx b/Source/CPack/cmCPackComponentGroup.cxx index 77f11cb..fd20e9b 100644 --- a/Source/CPack/cmCPackComponentGroup.cxx +++ b/Source/CPack/cmCPackComponentGroup.cxx @@ -30,7 +30,7 @@ unsigned long cmCPackComponent::GetInstalledSize( std::string path = installDir; path += '/'; path += *fileIt; - this->TotalSize += cmSystemTools::FileLength(path.c_str()); + this->TotalSize += cmSystemTools::FileLength(path); } return this->TotalSize; |