diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-06-14 22:37:36 +0200 |
---|---|---|
committer | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-06-14 22:37:36 +0200 |
commit | 24ab29b882548d9eceeb20d3ecbc5b9cc918bb7c (patch) | |
tree | 8b14c406c768e3fe8a934e9ed9ba95a35b91cdaf /Source/CTest | |
parent | ab8b77dd33e9a13551af402b2cf7ee3aaa5486b8 (diff) | |
download | cmake-24ab29b882548d9eceeb20d3ecbc5b9cc918bb7c.tar.gz |
Prefer istringstream and ostringstream over stringstream.
Use istringsream for parsing, ostringstream for generation.
Diffstat (limited to 'Source/CTest')
-rw-r--r-- | Source/CTest/cmCTestTestHandler.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestTestHandler.cxx b/Source/CTest/cmCTestTestHandler.cxx index 96a22d9c6f..c991a23f41 100644 --- a/Source/CTest/cmCTestTestHandler.cxx +++ b/Source/CTest/cmCTestTestHandler.cxx @@ -1677,7 +1677,7 @@ void cmCTestTestHandler::GenerateRegressionImages(cmXMLWriter& xml, xml.Attribute(measurementfile.match(3).c_str(), measurementfile.match(4)); xml.Attribute("encoding", "base64"); - std::stringstream ostr; + std::ostringstream ostr; for (size_t cc = 0; cc < rlen; cc++) { ostr << encoded_buffer[cc]; if (cc % 60 == 0 && cc) { |