summaryrefslogtreecommitdiffstats
path: root/Source/cmCTest.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-06-22 15:35:34 (GMT)
committerBrad King <brad.king@kitware.com>2018-06-22 17:38:18 (GMT)
commitb41b30f16e1ae2c8248321dbf51347b7a4b90d30 (patch)
treeb99773a7e7667b9568b1159aa0673e70dc0bfb91 /Source/cmCTest.cxx
parentf2d97c1cdf06f8575d0b23130db4ffa725ca5161 (diff)
downloadCMake-b41b30f16e1ae2c8248321dbf51347b7a4b90d30.zip
CMake-b41b30f16e1ae2c8248321dbf51347b7a4b90d30.tar.gz
CMake-b41b30f16e1ae2c8248321dbf51347b7a4b90d30.tar.bz2
Update use of KWSys SystemTools::SplitString for new signature
Diffstat (limited to 'Source/cmCTest.cxx')
-rw-r--r--Source/cmCTest.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx
index d0e668d..95edd8b 100644
--- a/Source/cmCTest.cxx
+++ b/Source/cmCTest.cxx
@@ -9,7 +9,6 @@
#include "cmsys/FStream.hxx"
#include "cmsys/Glob.hxx"
#include "cmsys/Process.h"
-#include "cmsys/String.hxx"
#include "cmsys/SystemInformation.hxx"
#include <algorithm>
#include <chrono>
@@ -1491,7 +1490,7 @@ int cmCTest::GenerateCTestNotesOutput(cmXMLWriter& xml,
this->AddSiteProperties(xml);
xml.StartElement("Notes");
- for (cmsys::String const& file : files) {
+ for (std::string const& file : files) {
cmCTestLog(this, OUTPUT, "\tAdd file: " << file << std::endl);
std::string note_time = this->CurrentTime();
xml.StartElement("Note");
@@ -1595,7 +1594,7 @@ std::string cmCTest::Base64EncodeFile(std::string const& file)
bool cmCTest::SubmitExtraFiles(const VectorOfStrings& files)
{
- for (cmsys::String const& file : files) {
+ for (std::string const& file : files) {
if (!cmSystemTools::FileExists(file)) {
cmCTestLog(this, ERROR_MESSAGE,
"Cannot find extra file: " << file << " to submit."