From a0d4e3bf347a1d995d064de19e14b71b87cbeeda Mon Sep 17 00:00:00 2001 From: Brad King Date: Fri, 28 Oct 2022 20:22:46 -0400 Subject: cmGeneratedFileStream: Drop unused WriteRaw method It has been superseded by `WriteAltEncoding`. --- Source/cmGeneratedFileStream.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'Source/cmGeneratedFileStream.h') diff --git a/Source/cmGeneratedFileStream.h b/Source/cmGeneratedFileStream.h index 77fd7ef46a..bfc121fb81 100644 --- a/Source/cmGeneratedFileStream.h +++ b/Source/cmGeneratedFileStream.h @@ -152,14 +152,4 @@ public: * Afterward, the original encoding is restored. */ void WriteAltEncoding(std::string const& data, Encoding encoding); - - /** - * Writes the given string directly to the file without changing the - * encoding. - */ - void WriteRaw(std::string const& data); - -private: - // The original locale of the stream (performs no encoding conversion). - std::locale OriginalLocale; }; -- cgit v1.2.1