From fef24cab1a4a13a864783dfcd6613ce8100f990d Mon Sep 17 00:00:00 2001 From: Ruben Dario Ponticeli Date: Mon, 13 Oct 2014 20:48:34 -0300 Subject: Add IsNull() to class CAutoFile and remove operator ! --- src/serialize.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/serialize.h') diff --git a/src/serialize.h b/src/serialize.h index 55b6891394..d8f0b76d59 100644 --- a/src/serialize.h +++ b/src/serialize.h @@ -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); } // -- cgit v1.2.3