diff options
author | Brad King <brad.king@kitware.com> | 2024-08-21 12:54:06 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2024-08-21 12:54:14 (GMT) |
commit | d81a2e4f5e38d57b004d7ff173ae32706e599b92 (patch) | |
tree | f5f57922659a816ef49ab8b5bb32d81df57862ae /Source/CPack | |
parent | 65ff215c15119c05f7695da2b8f0dcfb6424ba43 (diff) | |
parent | 1393b31635704303f30c555d5946383210817fe8 (diff) | |
download | CMake-d81a2e4f5e38d57b004d7ff173ae32706e599b92.zip CMake-d81a2e4f5e38d57b004d7ff173ae32706e599b92.tar.gz CMake-d81a2e4f5e38d57b004d7ff173ae32706e599b92.tar.bz2 |
Merge topic 'cpack-pkg-c_str'
1393b31635 cmCPackPKGGenerator: Remove redundant call to c_str
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9759
Diffstat (limited to 'Source/CPack')
-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); |