aboutsummaryrefslogtreecommitdiff
path: root/src/serialize.h
diff options
context:
space:
mode:
authorRuben Dario Ponticeli <rdponticelli@gmail.com>2014-10-13 20:48:34 -0300
committerWladimir J. van der Laan <laanwj@gmail.com>2014-10-20 12:46:56 +0200
commitfef24cab1a4a13a864783dfcd6613ce8100f990d (patch)
treebc93a06eab6f788c167cbb0d32d3144d00325fed /src/serialize.h
parent64ffc995d685cf8a53ef868572e835ce42269ec6 (diff)
Add IsNull() to class CAutoFile and remove operator !
Diffstat (limited to 'src/serialize.h')
-rw-r--r--src/serialize.h2
1 files changed, 1 insertions, 1 deletions
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); }
//