mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 06:58:57 +01:00
Add IsNull() to class CAutoFile and remove operator !
This commit is contained in:
committed by
Wladimir J. van der Laan
parent
64ffc995d6
commit
fef24cab1a
@@ -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); }
|
||||
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user