file_io - make operator bool() explicit via @lightmare (0d032c2618 (commitcomment-16753722))

This commit is contained in:
artemp 2016-03-18 09:51:57 +01:00
parent 7ad568b54a
commit 3d555982fd

View file

@ -63,7 +63,7 @@ public:
return file_ ? true : false;
}
inline operator bool() const
explicit operator bool() const
{
return this->open();
}