diff options
author | Clinton Stimpson <clinton@elemtech.com> | 2014-10-04 20:19:13 (GMT) |
---|---|---|
committer | Clinton Stimpson <clinton@elemtech.com> | 2014-10-04 20:20:04 (GMT) |
commit | 42e39bb37d874e2bd71f982c213a5f1de5a7bf3d (patch) | |
tree | 0c8efb111426c7da7f51ddec3a3b04c291bf6700 /Source/CTest/cmCTestMultiProcessHandler.cxx | |
parent | c5fdca7c17ea9afe8b88ea50f178ae6dff233de8 (diff) | |
download | CMake-42e39bb37d874e2bd71f982c213a5f1de5a7bf3d.zip CMake-42e39bb37d874e2bd71f982c213a5f1de5a7bf3d.tar.gz CMake-42e39bb37d874e2bd71f982c213a5f1de5a7bf3d.tar.bz2 |
Fix a few more places to use cmsys::[io]fstream instead of std::fstream.
Diffstat (limited to 'Source/CTest/cmCTestMultiProcessHandler.cxx')
-rw-r--r-- | Source/CTest/cmCTestMultiProcessHandler.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/CTest/cmCTestMultiProcessHandler.cxx b/Source/CTest/cmCTestMultiProcessHandler.cxx index b9e6721..7ba434c 100644 --- a/Source/CTest/cmCTestMultiProcessHandler.cxx +++ b/Source/CTest/cmCTestMultiProcessHandler.cxx @@ -319,8 +319,8 @@ void cmCTestMultiProcessHandler::UpdateCostData() { std::string fname = this->CTest->GetCostDataFile(); std::string tmpout = fname + ".tmp"; - std::fstream fout; - fout.open(tmpout.c_str(), std::ios::out); + cmsys::ofstream fout; + fout.open(tmpout.c_str()); PropertiesMap temp = this->Properties; @@ -610,8 +610,8 @@ void cmCTestMultiProcessHandler::WriteCheckpoint(int index) { std::string fname = this->CTest->GetBinaryDir() + "/Testing/Temporary/CTestCheckpoint.txt"; - std::fstream fout; - fout.open(fname.c_str(), std::ios::app | std::ios::out); + cmsys::ofstream fout; + fout.open(fname.c_str(), std::ios::app); fout << index << "\n"; fout.close(); } |