diff options
author | Brad King <brad.king@kitware.com> | 2019-01-22 14:32:47 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-01-22 14:32:58 (GMT) |
commit | cb7fbf1dbbcc88fc7701250db5c3ccdf0ab7396e (patch) | |
tree | 6f19fc14a53cc58f2d2234077ee596934a60afe6 /Source/cmDepends.cxx | |
parent | acaf9801d004dc77d8abbb09b2ce3a88fd182322 (diff) | |
parent | 3132ea801c2466773309edda82387025f903fc12 (diff) | |
download | CMake-cb7fbf1dbbcc88fc7701250db5c3ccdf0ab7396e.zip CMake-cb7fbf1dbbcc88fc7701250db5c3ccdf0ab7396e.tar.gz CMake-cb7fbf1dbbcc88fc7701250db5c3ccdf0ab7396e.tar.bz2 |
Merge topic 'stdout-string'
3132ea801c cmSystemTools: Stdout(),Stderr() accept std::string argument
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2829
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 fae3d9b..3b3783a 100644 --- a/Source/cmDepends.cxx +++ b/Source/cmDepends.cxx @@ -88,7 +88,7 @@ void cmDepends::Clear(const std::string& 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. @@ -171,7 +171,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) { @@ -188,7 +188,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 { @@ -207,7 +207,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()); } } } |