mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-28 19:58:34 -06:00
Merge topic 'copyfile-stdstring'
c31b6e616d cmSystemTools: copy file member functions accept std::string params
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2877
This commit is contained in:
@@ -286,8 +286,7 @@ protected:
|
||||
content = cmSystemTools::TrimWhitespace(content);
|
||||
std::string source = this->basePath + "/" + content;
|
||||
std::string destination = this->path + "/" + content;
|
||||
if (!cmSystemTools::CopyFileIfDifferent(source.data(),
|
||||
destination.data())) {
|
||||
if (!cmSystemTools::CopyFileIfDifferent(source, destination)) {
|
||||
this->hasErrors = true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user