diff options
author | Brad King <brad.king@kitware.com> | 2018-02-01 13:04:29 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2018-02-01 13:05:33 (GMT) |
commit | f8ca0ab3ac858730874176bf332808061fe179c6 (patch) | |
tree | 4aa58a0ff03b4713940fc41fcf81196017e35a5d /Source/cmExecuteProcessCommand.cxx | |
parent | 3ffc9b99bb20b56d5dc232fee8c988aa34474a2f (diff) | |
parent | 653b894683abe63233cb8679b34ea39d9017e317 (diff) | |
download | CMake-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.cxx | 2 |
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); |