diff options
author | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2003-07-18 21:33:18 +0000 |
---|---|---|
committer | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2003-07-18 21:33:18 +0000 |
commit | 2c43c8505f12d744cd8d93c1ef692962bd8da849 (patch) | |
tree | c178635daa826ac0a4bd557eb59aa4f853dfb957 /zinflate.cpp | |
parent | a89df27c0f7ded0a673dc84ce0b0e24c6d05e0d0 (diff) | |
download | cryptopp-2c43c8505f12d744cd8d93c1ef692962bd8da849.tar.gz |
allow DLL to be built with VC++ .NET
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@104 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'zinflate.cpp')
-rw-r--r-- | zinflate.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/zinflate.cpp b/zinflate.cpp index 685268f..339d1b1 100644 --- a/zinflate.cpp +++ b/zinflate.cpp @@ -209,9 +209,10 @@ bool HuffmanDecoder::Decode(LowFirstBitReader &reader, value_t &value) const // ************************************************************* Inflator::Inflator(BufferedTransformation *attachment, bool repeat, int propagation) - : AutoSignaling<Filter>(attachment, propagation) + : AutoSignaling<Filter>(propagation) , m_state(PRE_STREAM), m_repeat(repeat), m_reader(m_inQueue) { + Detach(attachment); } void Inflator::IsolatedInitialize(const NameValuePairs ¶meters) |