summaryrefslogtreecommitdiff
path: root/queue.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2015-07-25 00:03:43 -0400
committerJeffrey Walton <noloader@gmail.com>2015-07-25 00:03:43 -0400
commit81af9257164c8f1a1c566a1a35fb6aeeb7a64070 (patch)
tree56b083317ed76bb8934263e9561d9949faa8a68f /queue.cpp
parentd3e441267b13edcd67149395a030d5cb0c9505a5 (diff)
downloadcryptopp-git-81af9257164c8f1a1c566a1a35fb6aeeb7a64070.tar.gz
Cleared "Base class ‘class ByteQueue’ should be explicitly initialized in the copy constructor" warning under GCC 5.1 with -Wextra
Diffstat (limited to 'queue.cpp')
-rw-r--r--queue.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/queue.cpp b/queue.cpp
index 6546522b..d6993fef 100644
--- a/queue.cpp
+++ b/queue.cpp
@@ -131,7 +131,7 @@ public:
// ********************************************************
ByteQueue::ByteQueue(size_t nodeSize)
- : m_lazyString(NULL), m_lazyLength(0)
+ : m_autoNodeSize(true), m_nodeSize(0), m_head(NULL), m_tail(NULL), m_lazyString(NULL), m_lazyLength(0), m_lazyStringModifiable(false)
{
SetNodeSize(nodeSize);
m_head = m_tail = new ByteQueueNode(m_nodeSize);
@@ -144,7 +144,7 @@ void ByteQueue::SetNodeSize(size_t nodeSize)
}
ByteQueue::ByteQueue(const ByteQueue &copy)
- : m_lazyString(NULL)
+ : m_autoNodeSize(true), m_nodeSize(0), m_head(NULL), m_tail(NULL), m_lazyString(NULL), m_lazyLength(0), m_lazyStringModifiable(false)
{
CopyFrom(copy);
}