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 /mqueue.h | |
parent | 5b2008101cb8123db25bbe99a2e3688fc426edbc (diff) | |
download | cryptopp-git-55a22f2adff65870cdfc273fa344b49243516dfb.tar.gz |
allow DLL to be built with VC++ .NET
Diffstat (limited to 'mqueue.h')
-rw-r--r-- | mqueue.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -69,8 +69,9 @@ public: /*! if throwIfNotEqual is false, this filter will output a '\0' byte when it detects a mismatch, '\1' otherwise */ EqualityComparisonFilter(BufferedTransformation *attachment=NULL, bool throwIfNotEqual=true, const std::string &firstChannel="0", const std::string &secondChannel="1") - : Unflushable<Multichannel<Filter> >(attachment), m_throwIfNotEqual(throwIfNotEqual), m_mismatchDetected(false) - , m_firstChannel(firstChannel), m_secondChannel(secondChannel) {} + : m_throwIfNotEqual(throwIfNotEqual), m_mismatchDetected(false) + , m_firstChannel(firstChannel), m_secondChannel(secondChannel) + {Detach(attachment);} unsigned int ChannelPut2(const std::string &channel, const byte *begin, unsigned int length, int messageEnd, bool blocking); bool ChannelMessageSeriesEnd(const std::string &channel, int propagation=-1, bool blocking=true); |