From 5eb4d7590e0e721b56fc735ab6da35d55ad339d0 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Sun, 23 Nov 2014 11:05:50 +0100 Subject: Remove some unneeded c_str calls. --- Source/CPack/cmCPackDebGenerator.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/CPack/cmCPackDebGenerator.cxx') diff --git a/Source/CPack/cmCPackDebGenerator.cxx b/Source/CPack/cmCPackDebGenerator.cxx index c939cd2587..0a64bd5eb1 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"; -- cgit v1.2.1