diff options
| author | Ruben Dario Ponticeli <[email protected]> | 2014-10-13 20:48:34 -0300 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-10-20 12:46:56 +0200 |
| commit | fef24cab1a4a13a864783dfcd6613ce8100f990d (patch) | |
| tree | bc93a06eab6f788c167cbb0d32d3144d00325fed /src/serialize.h | |
| parent | Merge pull request #5095 (diff) | |
| download | discoin-fef24cab1a4a13a864783dfcd6613ce8100f990d.tar.xz discoin-fef24cab1a4a13a864783dfcd6613ce8100f990d.zip | |
Add IsNull() to class CAutoFile and remove operator !
Diffstat (limited to 'src/serialize.h')
| -rw-r--r-- | src/serialize.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/serialize.h b/src/serialize.h index 55b689139..d8f0b76d5 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); } // |