summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2023-07-27 13:16:02 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2023-07-30 22:33:07 (GMT)
commite48dbbf048604397ec00a2f95600e57b57634577 (patch)
treea93d9ecf5d29c3367b36e154d39a3f2ec1814d06
parent22bc92fbc1bfe0bbee310c8eecf08e4eb5982b6d (diff)
downloadCMake-e48dbbf048604397ec00a2f95600e57b57634577.zip
CMake-e48dbbf048604397ec00a2f95600e57b57634577.tar.gz
CMake-e48dbbf048604397ec00a2f95600e57b57634577.tar.bz2
cmCPackDragNDropGenerator: remove unnecessary string construction
-rw-r--r--Source/CPack/cmCPackDragNDropGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CPack/cmCPackDragNDropGenerator.cxx b/Source/CPack/cmCPackDragNDropGenerator.cxx
index aa63ff7..bd92839 100644
--- a/Source/CPack/cmCPackDragNDropGenerator.cxx
+++ b/Source/CPack/cmCPackDragNDropGenerator.cxx
@@ -198,7 +198,7 @@ int cmCPackDragNDropGenerator::PackageFiles()
} else {
full_package_name += package_file;
}
- full_package_name += std::string(GetOutputExtension());
+ full_package_name += GetOutputExtension();
packageFileNames.push_back(full_package_name);
std::string src_dir = cmStrCat(toplevel, '/', package_file);