summaryrefslogtreecommitdiff
path: root/queue.h
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2003-10-14 01:25:28 +0000
committerweidai <weidai11@users.noreply.github.com>2003-10-14 01:25:28 +0000
commitcdcfe6b6af0d2cf0cced0930391f14861a823725 (patch)
treeeda6d83abd4472bb82bfb58abfbda79ea13b9431 /queue.h
parent1b953a6a6c5eaa781e9ac113d848d1fda7528f8f (diff)
downloadcryptopp-git-cdcfe6b6af0d2cf0cced0930391f14861a823725.tar.gz
fix bug (found by Michael Hunley)
Diffstat (limited to 'queue.h')
-rw-r--r--queue.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/queue.h b/queue.h
index de913105..6c3b44e6 100644
--- a/queue.h
+++ b/queue.h
@@ -16,7 +16,7 @@ class ByteQueueNode;
class CRYPTOPP_DLL ByteQueue : public Bufferless<BufferedTransformation>
{
public:
- ByteQueue(unsigned int m_nodeSize=0);
+ ByteQueue(unsigned int nodeSize=0);
ByteQueue(const ByteQueue &copy);
~ByteQueue();
@@ -39,7 +39,7 @@ public:
unsigned int CopyRangeTo2(BufferedTransformation &target, unsigned long &begin, unsigned long end=ULONG_MAX, const std::string &channel=NULL_CHANNEL, bool blocking=true) const;
// these member functions are not inherited
- void SetNodeSize(unsigned int nodeSize) {m_nodeSize = nodeSize;}
+ void SetNodeSize(unsigned int nodeSize);
unsigned long CurrentSize() const;
bool IsEmpty() const;