summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestTestHandler.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-01-21 12:57:20 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-01-21 12:57:33 (GMT)
commitc7428e1729239264af84cb9ecb6f05f0b1e04e84 (patch)
treebf237aa6ab7120e8740fe4cbe7eaaf6f93e1d297 /Source/CTest/cmCTestTestHandler.cxx
parent177b5fb61b6d1fc64c70ea3bf65652ccad690dd5 (diff)
parent25caf7bafeb18d9394eb2d13686970c68e9ad88c (diff)
downloadCMake-c7428e1729239264af84cb9ecb6f05f0b1e04e84.zip
CMake-c7428e1729239264af84cb9ecb6f05f0b1e04e84.tar.gz
CMake-c7428e1729239264af84cb9ecb6f05f0b1e04e84.tar.bz2
Merge topic 'read-list-file'
25caf7bafe cmMakefile::ReadListFile() accepts std::string argument Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2821
Diffstat (limited to 'Source/CTest/cmCTestTestHandler.cxx')
-rw-r--r--Source/CTest/cmCTestTestHandler.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/CTest/cmCTestTestHandler.cxx b/Source/CTest/cmCTestTestHandler.cxx
index f86a4cd..cf2652a 100644
--- a/Source/CTest/cmCTestTestHandler.cxx
+++ b/Source/CTest/cmCTestTestHandler.cxx
@@ -104,7 +104,7 @@ bool cmCTestSubdirCommand::InitialPass(std::vector<std::string> const& args,
}
fname += "/";
fname += testFilename;
- readit = this->Makefile->ReadDependentFile(fname.c_str());
+ readit = this->Makefile->ReadDependentFile(fname);
}
if (!readit) {
std::string m = "Could not find include file: ";
@@ -170,7 +170,7 @@ bool cmCTestAddSubdirectoryCommand::InitialPass(
}
fname += "/";
fname += testFilename;
- readit = this->Makefile->ReadDependentFile(fname.c_str());
+ readit = this->Makefile->ReadDependentFile(fname);
}
if (!readit) {
std::string m = "Could not find include file: ";