cmCPackDragNDropGenerator: remove unnecessary string construction

This commit is contained in:
Ben Boeckel
2023-07-27 09:16:02 -04:00
parent 22bc92fbc1
commit e48dbbf048

View File

@@ -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);