From 32fdd18f7efa899c582f4c6eaa92d304d5fe0fd4 Mon Sep 17 00:00:00 2001 From: weidai Date: Fri, 20 Jun 2003 03:12:54 +0000 Subject: auto queue node size git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@84 57ff6487-cd31-0410-9ec3-f628ee90f5f0 --- queue.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'queue.h') diff --git a/queue.h b/queue.h index b9641bc..f17efc5 100644 --- a/queue.h +++ b/queue.h @@ -16,7 +16,7 @@ class ByteQueueNode; class ByteQueue : public Bufferless { public: - ByteQueue(unsigned int m_nodeSize=256); + ByteQueue(unsigned int m_nodeSize=0); ByteQueue(const ByteQueue ©); ~ByteQueue(); @@ -99,6 +99,7 @@ private: void CopyFrom(const ByteQueue ©); void Destroy(); + bool m_autoNodeSize; unsigned int m_nodeSize; ByteQueueNode *m_head, *m_tail; byte *m_lazyString; -- cgit v1.2.1