summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmParseMumpsCoverage.cxx
diff options
context:
space:
mode:
authorRolf Eike Beer <eike@sf-mail.de>2020-03-18 23:07:35 (GMT)
committerRolf Eike Beer <eike@sf-mail.de>2020-03-23 18:47:47 (GMT)
commitd1e6ee6fe3d5a6566a6cf89c51d73e6c1777ebdb (patch)
treea0de77c970c2f07b5361540b8a8e8671d1775727 /Source/CTest/cmParseMumpsCoverage.cxx
parentdc21177461f6d4bf9737761cbd5a9f0db88525e7 (diff)
downloadCMake-d1e6ee6fe3d5a6566a6cf89c51d73e6c1777ebdb.zip
CMake-d1e6ee6fe3d5a6566a6cf89c51d73e6c1777ebdb.tar.gz
CMake-d1e6ee6fe3d5a6566a6cf89c51d73e6c1777ebdb.tar.bz2
Mumps coverage: directly pass std::string as argument
Diffstat (limited to 'Source/CTest/cmParseMumpsCoverage.cxx')
-rw-r--r--Source/CTest/cmParseMumpsCoverage.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/CTest/cmParseMumpsCoverage.cxx b/Source/CTest/cmParseMumpsCoverage.cxx
index b16f101..dc1cf30 100644
--- a/Source/CTest/cmParseMumpsCoverage.cxx
+++ b/Source/CTest/cmParseMumpsCoverage.cxx
@@ -39,9 +39,9 @@ bool cmParseMumpsCoverage::ReadCoverageFile(const char* file)
std::string type = line.substr(0, pos);
std::string path = line.substr(pos + 1);
if (type == "packages") {
- this->LoadPackages(path.c_str());
+ this->LoadPackages(path);
} else if (type == "coverage_dir") {
- this->LoadCoverageData(path.c_str());
+ this->LoadCoverageData(path);
} else {
cmCTestLog(this->CTest, ERROR_MESSAGE,
"Parse Error in Mumps coverage file :\n"
@@ -105,7 +105,7 @@ void cmParseMumpsCoverage::InitializeMumpsFile(std::string& file)
}
}
-bool cmParseMumpsCoverage::LoadPackages(const char* d)
+bool cmParseMumpsCoverage::LoadPackages(std::string const& d)
{
cmsys::Glob glob;
glob.RecurseOn();