BUG: remove warning
This commit is contained in:
parent
09651ba991
commit
d76db0ed57
@ -80,7 +80,7 @@ public:
|
|||||||
/**
|
/**
|
||||||
* Allow a test for whether the file is open.
|
* 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
|
* Close the file stream. This will cause the copy-if-different to the
|
||||||
|
Loading…
x
Reference in New Issue
Block a user