diff options
author | Rose <gfunni234@gmail.com> | 2024-08-19 17:00:47 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2024-08-20 15:58:28 (GMT) |
commit | 1393b31635704303f30c555d5946383210817fe8 (patch) | |
tree | 47bf52be1343e70d36d0bc4e98a528801604548f | |
parent | ea184f510c69a141af40e33f54b391cd22a6044e (diff) | |
download | CMake-1393b31635704303f30c555d5946383210817fe8.zip CMake-1393b31635704303f30c555d5946383210817fe8.tar.gz CMake-1393b31635704303f30c555d5946383210817fe8.tar.bz2 |
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).
-rw-r--r-- | Source/CPack/cmCPackPKGGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CPack/cmCPackPKGGenerator.cxx b/Source/CPack/cmCPackPKGGenerator.cxx index 4d60c6c..a64093e 100644 --- a/Source/CPack/cmCPackPKGGenerator.cxx +++ b/Source/CPack/cmCPackPKGGenerator.cxx @@ -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); |