file_io - make operator bool() explicit via @lightmare (0d032c2618 (commitcomment-16753722)
)
This commit is contained in:
parent
7ad568b54a
commit
3d555982fd
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ public:
|
|||
return file_ ? true : false;
|
||||
}
|
||||
|
||||
inline operator bool() const
|
||||
explicit operator bool() const
|
||||
{
|
||||
return this->open();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue