mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-16 14:08:35 +08:00
CTestSVN: Accept std::string in SVNInfo constructor
This commit is contained in:
@@ -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);
|
||||
}
|
||||
};
|
||||
|
||||
|
@@ -41,7 +41,7 @@ private:
|
||||
struct SVNInfo
|
||||
{
|
||||
|
||||
SVNInfo(const char* path)
|
||||
SVNInfo(std::string const& path = std::string())
|
||||
: LocalPath(path)
|
||||
{
|
||||
}
|
||||
|
Reference in New Issue
Block a user