summaryrefslogtreecommitdiff
path: root/queue.h
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2003-06-20 03:12:54 +0000
committerweidai <weidai11@users.noreply.github.com>2003-06-20 03:12:54 +0000
commitda759fb13a613645767932eebbffb359de723f71 (patch)
tree153a0d9ffdbeff5955688bd6fd08bc91cab539f0 /queue.h
parentace405444416997b168712d32b7ea74a3bd43c94 (diff)
downloadcryptopp-git-da759fb13a613645767932eebbffb359de723f71.tar.gz
auto queue node size
Diffstat (limited to 'queue.h')
-rw-r--r--queue.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/queue.h b/queue.h
index b9641bc4..f17efc5b 100644
--- a/queue.h
+++ b/queue.h
@@ -16,7 +16,7 @@ class ByteQueueNode;
class ByteQueue : public Bufferless<BufferedTransformation>
{
public:
- ByteQueue(unsigned int m_nodeSize=256);
+ ByteQueue(unsigned int m_nodeSize=0);
ByteQueue(const ByteQueue &copy);
~ByteQueue();
@@ -99,6 +99,7 @@ private:
void CopyFrom(const ByteQueue &copy);
void Destroy();
+ bool m_autoNodeSize;
unsigned int m_nodeSize;
ByteQueueNode *m_head, *m_tail;
byte *m_lazyString;