CTestSVN: Accept std::string in SVNInfo constructor

This commit is contained in:
Brad King 2019-01-16 13:26:47 -05:00
parent 68e20f674a
commit 2e5307a2a4
2 changed files with 2 additions and 2 deletions

View File

@ -521,7 +521,7 @@ private:
} else {
local_path = path;
}
this->SVN->Repositories.emplace_back(local_path.c_str());
this->SVN->Repositories.emplace_back(local_path);
}
};

View File

@ -41,7 +41,7 @@ private:
struct SVNInfo
{
SVNInfo(const char* path)
SVNInfo(std::string const& path = std::string())
: LocalPath(path)
{
}