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