commit | 7e729d207492f8b4be9509e927b687a282039bc9 | [log] [tgz] |
---|---|---|
author | David Reiss <dreiss@apache.org> | Wed Oct 06 17:10:51 2010 +0000 |
committer | David Reiss <dreiss@apache.org> | Wed Oct 06 17:10:51 2010 +0000 |
tree | 1bb2f18bb9d12f3805c95d387a8fd852e62bbfda | |
parent | f673509f1be499bc899e204ab0d7837ebf4f418a [diff] |
THRIFT-926. cpp: Let TMemoryBuffer::resetBuffer() set size of self-allocated buffer Although there is a constructor that allows a TMemoryBuffer to be created with an internally-allocated buffer of a desired size, there was no way for resetBuffer to obtain analogous behavior. This change causes the appropriate constructor to be used. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1005168 13f79535-47bb-0310-9956-ffa450edef68