diff options
author | weidai <weidai11@users.noreply.github.com> | 2003-07-18 21:33:18 +0000 |
---|---|---|
committer | weidai <weidai11@users.noreply.github.com> | 2003-07-18 21:33:18 +0000 |
commit | 55a22f2adff65870cdfc273fa344b49243516dfb (patch) | |
tree | c178635daa826ac0a4bd557eb59aa4f853dfb957 /zinflate.cpp | |
parent | 5b2008101cb8123db25bbe99a2e3688fc426edbc (diff) | |
download | cryptopp-git-55a22f2adff65870cdfc273fa344b49243516dfb.tar.gz |
allow DLL to be built with VC++ .NET
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 685268f6..339d1b10 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) |