diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-06-08 20:29:15 (GMT) |
---|---|---|
committer | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-06-08 21:08:40 (GMT) |
commit | 9f25fc4dbb0fa3c027beb46c03c8b18507811cab (patch) | |
tree | 78be2312ef8b8597bba8f66512ede5baf7ddbc3f /Source/CTest/cmCTestBatchTestHandler.cxx | |
parent | f9cc43ea37d8b4e2a482cb9004cec2bd8f824857 (diff) | |
download | CMake-9f25fc4dbb0fa3c027beb46c03c8b18507811cab.zip CMake-9f25fc4dbb0fa3c027beb46c03c8b18507811cab.tar.gz CMake-9f25fc4dbb0fa3c027beb46c03c8b18507811cab.tar.bz2 |
Prefer std::ostream& over derivatives as parameters
Diffstat (limited to 'Source/CTest/cmCTestBatchTestHandler.cxx')
-rw-r--r-- | Source/CTest/cmCTestBatchTestHandler.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/CTest/cmCTestBatchTestHandler.cxx b/Source/CTest/cmCTestBatchTestHandler.cxx index 386c8d5..70f84cb 100644 --- a/Source/CTest/cmCTestBatchTestHandler.cxx +++ b/Source/CTest/cmCTestBatchTestHandler.cxx @@ -45,7 +45,7 @@ void cmCTestBatchTestHandler::WriteBatchScript() fout.close(); } -void cmCTestBatchTestHandler::WriteSrunArgs(int test, cmsys::ofstream& fout) +void cmCTestBatchTestHandler::WriteSrunArgs(int test, std::ostream& fout) { cmCTestTestHandler::cmCTestTestProperties* properties = this->Properties[test]; @@ -73,7 +73,7 @@ void cmCTestBatchTestHandler::WriteSrunArgs(int test, cmsys::ofstream& fout) } } -void cmCTestBatchTestHandler::WriteTestCommand(int test, cmsys::ofstream& fout) +void cmCTestBatchTestHandler::WriteTestCommand(int test, std::ostream& fout) { std::vector<std::string> args = this->Properties[test]->Args; std::vector<std::string> processArgs; |