Never construct mxs::Buffer from nullptr
A mxs::Buffer should never be constructed from a null pointer and if done, it is very likely due to an error.
This commit is contained in:
parent
9df6c9aeca
commit
a4ee390fe5
@ -316,6 +316,7 @@ public:
|
||||
Buffer(GWBUF* pBuffer)
|
||||
: m_pBuffer(pBuffer)
|
||||
{
|
||||
mxb_assert(pBuffer);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user