diff options
author | Philip Kaufmann <phil.kaufmann@t-online.de> | 2014-09-25 08:53:43 +0200 |
---|---|---|
committer | Philip Kaufmann <phil.kaufmann@t-online.de> | 2014-10-02 10:46:31 +0200 |
commit | c9fb27da0a72135417956dca8dafa959ebb67c10 (patch) | |
tree | 7676f91bda9f87762ff5cdd2cbee18eba50dd854 /src/checkqueue.h | |
parent | 00eef5d6e9b08b173492599ec41c7feb445e2139 (diff) |
CBufferedFile: convert into a non-refcounted RAII wrapper
- it now takes over the passed file descriptor and closes it in the
destructor
- this fixes a leak in LoadExternalBlockFile(), where an exception could
cause the file to not getting closed
- disallow copies (like recently added for CAutoFile)
- make nType and nVersion private
Diffstat (limited to 'src/checkqueue.h')
0 files changed, 0 insertions, 0 deletions