summaryrefslogtreecommitdiffstats
path: root/Source/cmCTest.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-01-22 14:32:47 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-01-22 14:32:58 (GMT)
commitcb7fbf1dbbcc88fc7701250db5c3ccdf0ab7396e (patch)
tree6f19fc14a53cc58f2d2234077ee596934a60afe6 /Source/cmCTest.cxx
parentacaf9801d004dc77d8abbb09b2ce3a88fd182322 (diff)
parent3132ea801c2466773309edda82387025f903fc12 (diff)
downloadCMake-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/cmCTest.cxx')
-rw-r--r--Source/cmCTest.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx
index 5f71520..4e2f275 100644
--- a/Source/cmCTest.cxx
+++ b/Source/cmCTest.cxx
@@ -2807,13 +2807,13 @@ bool cmCTest::RunCommand(std::vector<std::string> const& args,
if ((res == cmsysProcess_Pipe_STDOUT || res == cmsysProcess_Pipe_STDERR) &&
this->ExtraVerbose) {
processOutput.DecodeText(data, length, strdata);
- cmSystemTools::Stdout(strdata.c_str(), strdata.size());
+ cmSystemTools::Stdout(strdata);
}
}
if (this->ExtraVerbose) {
processOutput.DecodeText(std::string(), strdata);
if (!strdata.empty()) {
- cmSystemTools::Stdout(strdata.c_str(), strdata.size());
+ cmSystemTools::Stdout(strdata);
}
}