diff options
author | Brad King <brad.king@kitware.com> | 2019-01-30 13:08:53 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-01-30 13:08:59 (GMT) |
commit | bcec7d0778eb87ea58d720d9e20710dc2cdfdab6 (patch) | |
tree | 7bac9b7800d73cee8b7e05143788f9edaff64fb9 /Source/CPack/cmCPackDragNDropGenerator.cxx | |
parent | 8ec149003e756d4a40f86b9025acb15f7ff82136 (diff) | |
parent | c31b6e616d5c2d697696540ca2e8faf14160d2b0 (diff) | |
download | CMake-bcec7d0778eb87ea58d720d9e20710dc2cdfdab6.zip CMake-bcec7d0778eb87ea58d720d9e20710dc2cdfdab6.tar.gz CMake-bcec7d0778eb87ea58d720d9e20710dc2cdfdab6.tar.bz2 |
Merge topic 'copyfile-stdstring'
c31b6e616d cmSystemTools: copy file member functions accept std::string params
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2877
Diffstat (limited to 'Source/CPack/cmCPackDragNDropGenerator.cxx')
-rw-r--r-- | Source/CPack/cmCPackDragNDropGenerator.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/CPack/cmCPackDragNDropGenerator.cxx b/Source/CPack/cmCPackDragNDropGenerator.cxx index 80b9ef3..013ad81 100644 --- a/Source/CPack/cmCPackDragNDropGenerator.cxx +++ b/Source/CPack/cmCPackDragNDropGenerator.cxx @@ -210,8 +210,7 @@ int cmCPackDragNDropGenerator::PackageFiles() bool cmCPackDragNDropGenerator::CopyFile(std::ostringstream& source, std::ostringstream& target) { - if (!cmSystemTools::CopyFileIfDifferent(source.str().c_str(), - target.str().c_str())) { + if (!cmSystemTools::CopyFileIfDifferent(source.str(), target.str())) { cmCPackLogger(cmCPackLog::LOG_ERROR, "Error copying " << source.str() << " to " << target.str() << std::endl); |