summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestMultiProcessHandler.cxx
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@gitlab.org>2019-01-23 01:37:59 (GMT)
committerVitaly Stakhovsky <vvs31415@gitlab.org>2019-01-23 01:37:59 (GMT)
commit9e5c13738bdc45b00b529b492bad92800890fb9c (patch)
treeee07703b2cf6a7178c7f76f934f828afe2b3764e /Source/CTest/cmCTestMultiProcessHandler.cxx
parentfa5bf870df1ce5d9cbcf61be736beb0b1e87b85b (diff)
downloadCMake-9e5c13738bdc45b00b529b492bad92800890fb9c.zip
CMake-9e5c13738bdc45b00b529b492bad92800890fb9c.tar.gz
CMake-9e5c13738bdc45b00b529b492bad92800890fb9c.tar.bz2
cmSystemTools::RenameFile: Accepts std::string args
Diffstat (limited to 'Source/CTest/cmCTestMultiProcessHandler.cxx')
-rw-r--r--Source/CTest/cmCTestMultiProcessHandler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestMultiProcessHandler.cxx b/Source/CTest/cmCTestMultiProcessHandler.cxx
index 320647a..d3aa2b4 100644
--- a/Source/CTest/cmCTestMultiProcessHandler.cxx
+++ b/Source/CTest/cmCTestMultiProcessHandler.cxx
@@ -538,7 +538,7 @@ void cmCTestMultiProcessHandler::UpdateCostData()
fout << f << "\n";
}
fout.close();
- cmSystemTools::RenameFile(tmpout.c_str(), fname.c_str());
+ cmSystemTools::RenameFile(tmpout, fname);
}
void cmCTestMultiProcessHandler::ReadCostData()