summaryrefslogtreecommitdiffstats
path: root/Source/cmExecuteProcessCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-02-01 13:04:29 (GMT)
committerKitware Robot <kwrobot@kitware.com>2018-02-01 13:05:33 (GMT)
commitf8ca0ab3ac858730874176bf332808061fe179c6 (patch)
tree4aa58a0ff03b4713940fc41fcf81196017e35a5d /Source/cmExecuteProcessCommand.cxx
parent3ffc9b99bb20b56d5dc232fee8c988aa34474a2f (diff)
parent653b894683abe63233cb8679b34ea39d9017e317 (diff)
downloadCMake-f8ca0ab3ac858730874176bf332808061fe179c6.zip
CMake-f8ca0ab3ac858730874176bf332808061fe179c6.tar.gz
CMake-f8ca0ab3ac858730874176bf332808061fe179c6.tar.bz2
Merge topic 'std-string-apis'
653b8946 Reduce raw string pointers usage. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1729
Diffstat (limited to 'Source/cmExecuteProcessCommand.cxx')
-rw-r--r--Source/cmExecuteProcessCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmExecuteProcessCommand.cxx b/Source/cmExecuteProcessCommand.cxx
index 39e774e..679a648 100644
--- a/Source/cmExecuteProcessCommand.cxx
+++ b/Source/cmExecuteProcessCommand.cxx
@@ -157,7 +157,7 @@ bool cmExecuteProcessCommand::InitialPass(std::vector<std::string> const& args,
}
}
- if (!this->Makefile->CanIWriteThisFile(output_file.c_str())) {
+ if (!this->Makefile->CanIWriteThisFile(output_file)) {
std::string e = "attempted to output into a file: " + output_file +
" into a source directory.";
this->SetError(e);