summaryrefslogtreecommitdiff
path: root/mqueue.h
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2003-07-18 21:33:18 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2003-07-18 21:33:18 +0000
commit2c43c8505f12d744cd8d93c1ef692962bd8da849 (patch)
treec178635daa826ac0a4bd557eb59aa4f853dfb957 /mqueue.h
parenta89df27c0f7ded0a673dc84ce0b0e24c6d05e0d0 (diff)
downloadcryptopp-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 'mqueue.h')
-rw-r--r--mqueue.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/mqueue.h b/mqueue.h
index 1cad921..1bf8892 100644
--- a/mqueue.h
+++ b/mqueue.h
@@ -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);