summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratedFileStream.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-05-23 14:47:50 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-05-23 14:47:50 (GMT)
commitd76db0ed57b5a1f0444e9940692192a0ec69a1d7 (patch)
tree0a3dd203a2445560ab68657e77792aff34eee9ac /Source/cmGeneratedFileStream.h
parent09651ba991a0d25efa3bc265bc08359402de9596 (diff)
downloadCMake-d76db0ed57b5a1f0444e9940692192a0ec69a1d7.zip
CMake-d76db0ed57b5a1f0444e9940692192a0ec69a1d7.tar.gz
CMake-d76db0ed57b5a1f0444e9940692192a0ec69a1d7.tar.bz2
BUG: remove warning
Diffstat (limited to 'Source/cmGeneratedFileStream.h')
-rw-r--r--Source/cmGeneratedFileStream.h2
1 files changed, 1 insertions, 1 deletions
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<bool>(m_Stream); }
+ operator bool() { return m_Stream.good(); }
/**
* Close the file stream. This will cause the copy-if-different to the