mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-03 04:40:18 -05:00
Prefer std::ostream& over derivatives as parameters
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -33,8 +33,8 @@ public:
|
||||
|
||||
protected:
|
||||
void WriteBatchScript();
|
||||
void WriteSrunArgs(int test, cmsys::ofstream& fout);
|
||||
void WriteTestCommand(int test, cmsys::ofstream& fout);
|
||||
void WriteSrunArgs(int test, std::ostream& fout);
|
||||
void WriteTestCommand(int test, std::ostream& fout);
|
||||
|
||||
void SubmitBatchScript();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user