diff options
author | Jeffrey Walton <noloader@gmail.com> | 2015-07-25 00:03:43 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2015-07-25 00:03:43 -0400 |
commit | 81af9257164c8f1a1c566a1a35fb6aeeb7a64070 (patch) | |
tree | 56b083317ed76bb8934263e9561d9949faa8a68f /queue.cpp | |
parent | d3e441267b13edcd67149395a030d5cb0c9505a5 (diff) | |
download | cryptopp-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.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 ©) - : 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); } |