Log Message: |
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.
|