diff options
Diffstat (limited to 'CPP/7zip/Archive/Common/DummyOutStream.h')
-rwxr-xr-x | CPP/7zip/Archive/Common/DummyOutStream.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CPP/7zip/Archive/Common/DummyOutStream.h b/CPP/7zip/Archive/Common/DummyOutStream.h index d19b3111..13d5b62c 100755 --- a/CPP/7zip/Archive/Common/DummyOutStream.h +++ b/CPP/7zip/Archive/Common/DummyOutStream.h @@ -6,7 +6,7 @@ #include "../../IStream.h" #include "Common/MyCom.h" -class CDummyOutStream: +class CDummyOutStream: public ISequentialOutStream, public CMyUnknownImp { @@ -14,6 +14,7 @@ class CDummyOutStream: UInt64 _size; public: void SetStream(ISequentialOutStream *outStream) { _stream = outStream; } + void ReleaseStream() { _stream.Release(); } void Init() { _size = 0; } MY_UNKNOWN_IMP STDMETHOD(Write)(const void *data, UInt32 size, UInt32 *processedSize); |