Cleared "Base class ‘class ByteQueue’ should be explicitly initialized in the copy constructor" warning under GCC 5.1 with -Wextra
parent
d3e441267b
commit
81af925716
|
|
@ -131,7 +131,7 @@ public:
|
||||||
// ********************************************************
|
// ********************************************************
|
||||||
|
|
||||||
ByteQueue::ByteQueue(size_t nodeSize)
|
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);
|
SetNodeSize(nodeSize);
|
||||||
m_head = m_tail = new ByteQueueNode(m_nodeSize);
|
m_head = m_tail = new ByteQueueNode(m_nodeSize);
|
||||||
|
|
@ -144,7 +144,7 @@ void ByteQueue::SetNodeSize(size_t nodeSize)
|
||||||
}
|
}
|
||||||
|
|
||||||
ByteQueue::ByteQueue(const ByteQueue ©)
|
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);
|
CopyFrom(copy);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue