diff options
author | Fred Baksik <frodak17@gmail.com> | 2019-01-05 16:01:22 (GMT) |
---|---|---|
committer | Fred Baksik <frodak17@gmail.com> | 2019-01-16 15:41:31 (GMT) |
commit | b2a72ec72d609547d2278701a56237822c0dcc92 (patch) | |
tree | 9c69a8b59f44d21cdd17f852f3b2902136cb9e80 /Source/cmGhsMultiGpj.cxx | |
parent | 595932c4f0570ab6bdef0a50a321877ffa9c50e4 (diff) | |
download | CMake-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.cxx | 5 |
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; } |