Add IsNull() to class CAutoFile and remove operator !

This commit is contained in:
Ruben Dario Ponticeli
2014-10-13 20:48:34 -03:00
committed by Wladimir J. van der Laan
parent 64ffc995d6
commit fef24cab1a
3 changed files with 7 additions and 7 deletions

View File

@@ -1122,7 +1122,7 @@ public:
FILE& operator*() { return *file; }
FILE** operator&() { return &file; }
FILE* operator=(FILE* pnew) { return file = pnew; }
bool operator!() { return (file == NULL); }
bool IsNull() const { return (file == NULL); }
//