From d76db0ed57b5a1f0444e9940692192a0ec69a1d7 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Wed, 23 May 2001 10:47:50 -0400 Subject: BUG: remove warning --- Source/cmGeneratedFileStream.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmGeneratedFileStream.h b/Source/cmGeneratedFileStream.h index dca7488..26c48d7 100644 --- a/Source/cmGeneratedFileStream.h +++ b/Source/cmGeneratedFileStream.h @@ -80,7 +80,7 @@ public: /** * Allow a test for whether the file is open. */ - operator bool() { return static_cast(m_Stream); } + operator bool() { return m_Stream.good(); } /** * Close the file stream. This will cause the copy-if-different to the -- cgit v0.12