BUG: fix to compile on hp with aCC

This commit is contained in:
Bill Hoffman
2001-05-17 11:44:26 -04:00
parent 4d86b681de
commit 1094200ea0
4 changed files with 6 additions and 4 deletions

View File

@@ -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