diff options
author | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2019-01-20 05:03:35 (GMT) |
---|---|---|
committer | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2019-01-20 05:03:35 (GMT) |
commit | 3132ea801c2466773309edda82387025f903fc12 (patch) | |
tree | 46fc39a7a8ef29ea1f05e8a930144a1dc40c503b /Source/cmDepends.cxx | |
parent | c902e775ec3fc2f3c6f6c4273142bfe6f73f4c57 (diff) | |
download | CMake-3132ea801c2466773309edda82387025f903fc12.zip CMake-3132ea801c2466773309edda82387025f903fc12.tar.gz CMake-3132ea801c2466773309edda82387025f903fc12.tar.bz2 |
cmSystemTools: Stdout(),Stderr() accept std::string argument
Diffstat (limited to 'Source/cmDepends.cxx')
-rw-r--r-- | Source/cmDepends.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmDepends.cxx b/Source/cmDepends.cxx index 2acb015..e4eb5e5 100644 --- a/Source/cmDepends.cxx +++ b/Source/cmDepends.cxx @@ -87,7 +87,7 @@ void cmDepends::Clear(const char* file) if (this->Verbose) { std::ostringstream msg; msg << "Clearing dependencies in \"" << file << "\"." << std::endl; - cmSystemTools::Stdout(msg.str().c_str()); + cmSystemTools::Stdout(msg.str()); } // Write an empty dependency file. @@ -170,7 +170,7 @@ bool cmDepends::CheckDependencies( std::ostringstream msg; msg << "Dependee \"" << dependee << "\" does not exist for depender \"" << depender << "\"." << std::endl; - cmSystemTools::Stdout(msg.str().c_str()); + cmSystemTools::Stdout(msg.str()); } } else { if (dependerExists) { @@ -187,7 +187,7 @@ bool cmDepends::CheckDependencies( std::ostringstream msg; msg << "Dependee \"" << dependee << "\" is newer than depender \"" << depender << "\"." << std::endl; - cmSystemTools::Stdout(msg.str().c_str()); + cmSystemTools::Stdout(msg.str()); } } } else { @@ -206,7 +206,7 @@ bool cmDepends::CheckDependencies( msg << "Dependee \"" << dependee << "\" is newer than depends file \"" << internalDependsFileName << "\"." << std::endl; - cmSystemTools::Stdout(msg.str().c_str()); + cmSystemTools::Stdout(msg.str()); } } } |