summaryrefslogtreecommitdiffstats
path: root/Source/CPack/cmCPackProductBuildGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-11-27 18:19:45 (GMT)
committerBrad King <brad.king@kitware.com>2018-11-27 18:20:34 (GMT)
commitcb6229b8b8aabfc9700dae88485c89738af928bc (patch)
tree986b8a6d4931d5926d91fadcf1d26fca78193297 /Source/CPack/cmCPackProductBuildGenerator.cxx
parentf49efe283ed005aac642f5af58ea971d468de88c (diff)
downloadCMake-cb6229b8b8aabfc9700dae88485c89738af928bc.zip
CMake-cb6229b8b8aabfc9700dae88485c89738af928bc.tar.gz
CMake-cb6229b8b8aabfc9700dae88485c89738af928bc.tar.bz2
clang-tidy: fix warnings in macOS-only code
Diffstat (limited to 'Source/CPack/cmCPackProductBuildGenerator.cxx')
-rw-r--r--Source/CPack/cmCPackProductBuildGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CPack/cmCPackProductBuildGenerator.cxx b/Source/CPack/cmCPackProductBuildGenerator.cxx
index 76b3275..e73d01f 100644
--- a/Source/CPack/cmCPackProductBuildGenerator.cxx
+++ b/Source/CPack/cmCPackProductBuildGenerator.cxx
@@ -151,7 +151,7 @@ bool cmCPackProductBuildGenerator::RunProductBuild(const std::string& command)
this->GeneratorVerbose, cmDuration::zero());
cmCPackLogger(cmCPackLog::LOG_VERBOSE, "Done running command" << std::endl);
if (!res || retVal) {
- cmGeneratedFileStream ofs(tmpFile.c_str());
+ cmGeneratedFileStream ofs(tmpFile);
ofs << "# Run command: " << command << std::endl
<< "# Output:" << std::endl
<< output << std::endl;