summaryrefslogtreecommitdiffstats
path: root/Source/cmCTest.cxx
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@gitlab.org>2019-01-20 05:03:35 (GMT)
committerVitaly Stakhovsky <vvs31415@gitlab.org>2019-01-20 05:03:35 (GMT)
commit3132ea801c2466773309edda82387025f903fc12 (patch)
tree46fc39a7a8ef29ea1f05e8a930144a1dc40c503b /Source/cmCTest.cxx
parentc902e775ec3fc2f3c6f6c4273142bfe6f73f4c57 (diff)
downloadCMake-3132ea801c2466773309edda82387025f903fc12.zip
CMake-3132ea801c2466773309edda82387025f903fc12.tar.gz
CMake-3132ea801c2466773309edda82387025f903fc12.tar.bz2
cmSystemTools: Stdout(),Stderr() accept std::string argument
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 1c0d9f6..5ba3370 100644
--- a/Source/cmCTest.cxx
+++ b/Source/cmCTest.cxx
@@ -2781,13 +2781,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);
}
}