cmCPackPKGGenerator: Remove redundant call to c_str

The call is unnecessary since commit 438809d3ba (cmCPackGenerator: Add
option to FindTemplate to use alternate builtin path, 2024-03-06,
v3.30.0-rc1~353^2~4).
This commit is contained in:
Rose
2024-08-19 13:00:47 -04:00
committed by Brad King
parent ea184f510c
commit 1393b31635

View File

@@ -434,7 +434,7 @@ bool cmCPackPKGGenerator::CopyResourcePlistFile(const std::string& name,
}
std::string inFName = cmStrCat("CPack.", name, ".in");
std::string inFileName = this->FindTemplate(inFName.c_str());
std::string inFileName = this->FindTemplate(inFName);
if (inFileName.empty()) {
cmCPackLogger(cmCPackLog::LOG_ERROR,
"Cannot find input file: " << inFName << std::endl);