diff options
author | Yury Melnichek <melnichek@gmail.com> | 2011-01-04 18:22:58 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:09:10 +0300 |
commit | 507694e4c1c9c7f2aa01209ee5d3053ce2e0ae9d (patch) | |
tree | c861f2e4044e8a91e6c863f272e5fc6e11ae413d /coding/file_container.hpp | |
parent | 1b54e1794cdaf90b4c2b1bc9ef6eda4f052c0066 (diff) |
Automatically call Finish() in FileContainerW's destructor.
Diffstat (limited to 'coding/file_container.hpp')
-rw-r--r-- | coding/file_container.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/coding/file_container.hpp b/coding/file_container.hpp index fe8619b7a7..9b94464095 100644 --- a/coding/file_container.hpp +++ b/coding/file_container.hpp @@ -72,10 +72,12 @@ class FilesContainerW : public FilesContainerBase uint64_t SaveCurrentSize(); bool m_needRewrite; + bool m_bFinished; public: FilesContainerW(string const & fName, FileWriter::Op op = FileWriter::OP_WRITE_TRUNCATE); + ~FilesContainerW(); FileWriter GetWriter(Tag const & tag); |