diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2001-05-17 15:44:26 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2001-05-17 15:44:26 (GMT) |
commit | 1094200ea060dad38eaffd6e06cb5852d556a559 (patch) | |
tree | e71322bfb8381d3b5217347b8e2a9130400a1eb8 /Source/cmGeneratedFileStream.h | |
parent | 4d86b681de366ab168823e113506428fa72b13d7 (diff) | |
download | CMake-1094200ea060dad38eaffd6e06cb5852d556a559.zip CMake-1094200ea060dad38eaffd6e06cb5852d556a559.tar.gz CMake-1094200ea060dad38eaffd6e06cb5852d556a559.tar.bz2 |
BUG: fix to compile on hp with aCC
Diffstat (limited to 'Source/cmGeneratedFileStream.h')
-rw-r--r-- | Source/cmGeneratedFileStream.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGeneratedFileStream.h b/Source/cmGeneratedFileStream.h index 276a829..dca7488 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 m_Stream.is_open(); } + operator bool() { return static_cast<bool>(m_Stream); } /** * Close the file stream. This will cause the copy-if-different to the |