initially reserve HEADER_SIZE for buffer
This commit is contained in:
parent
dab2cfe08f
commit
4bfef5f81f
|
|
@ -31,6 +31,7 @@ ClientPrivate::ClientPrivate(Client *q)
|
||||||
error(QAMQP::NoError),
|
error(QAMQP::NoError),
|
||||||
q_ptr(q)
|
q_ptr(q)
|
||||||
{
|
{
|
||||||
|
buffer.reserve(Frame::HEADER_SIZE);
|
||||||
}
|
}
|
||||||
|
|
||||||
ClientPrivate::~ClientPrivate()
|
ClientPrivate::~ClientPrivate()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue