initially reserve HEADER_SIZE for buffer

This commit is contained in:
Matt Broadstone 2014-09-12 08:22:04 -04:00
parent dab2cfe08f
commit 4bfef5f81f
1 changed files with 1 additions and 0 deletions

View File

@ -31,6 +31,7 @@ ClientPrivate::ClientPrivate(Client *q)
error(QAMQP::NoError),
q_ptr(q)
{
buffer.reserve(Frame::HEADER_SIZE);
}
ClientPrivate::~ClientPrivate()