summaryrefslogtreecommitdiffstats
path: root/Source/cmGhsMultiGpj.cxx
diff options
context:
space:
mode:
authorFred Baksik <frodak17@gmail.com>2019-01-05 16:01:22 (GMT)
committerFred Baksik <frodak17@gmail.com>2019-01-16 15:41:31 (GMT)
commitb2a72ec72d609547d2278701a56237822c0dcc92 (patch)
tree9c69a8b59f44d21cdd17f852f3b2902136cb9e80 /Source/cmGhsMultiGpj.cxx
parent595932c4f0570ab6bdef0a50a321877ffa9c50e4 (diff)
downloadCMake-b2a72ec72d609547d2278701a56237822c0dcc92.zip
CMake-b2a72ec72d609547d2278701a56237822c0dcc92.tar.gz
CMake-b2a72ec72d609547d2278701a56237822c0dcc92.tar.bz2
GHS: Cleanup unused file handling functions and file output updates
-- File handling cleanup -- Rename some functions to clarify what they do -- Update to source file path conversion; only perform conversion when using windows
Diffstat (limited to 'Source/cmGhsMultiGpj.cxx')
-rw-r--r--Source/cmGhsMultiGpj.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmGhsMultiGpj.cxx b/Source/cmGhsMultiGpj.cxx
index c0f37ba..c1f0742 100644
--- a/Source/cmGhsMultiGpj.cxx
+++ b/Source/cmGhsMultiGpj.cxx
@@ -29,10 +29,9 @@ const char* GhsMultiGpj::GetGpjTag(Types const gpjType)
return tag;
}
-void GhsMultiGpj::WriteGpjTag(Types const gpjType,
- cmGeneratedFileStream* const filestream)
+void GhsMultiGpj::WriteGpjTag(Types const gpjType, std::ostream& fout)
{
char const* tag;
tag = GhsMultiGpj::GetGpjTag(gpjType);
- *filestream << tag << std::endl;
+ fout << tag << std::endl;
}