cfriedt commented on PR #2007:
URL: https://github.com/apache/thrift/pull/2007#issuecomment-1101787757

   @emmenlau - repurposing this ticket to simply add clarifying tests.
   
   My main use case with the original code change was that I wanted to be able 
to call `resetBuffer()` on `OBSERVE` buffers and reuse them for test cases. I 
can achieve that by calling `resetBuffer(ro_mem, ro_mem_size, OBSERVE)` as 
well, so the workaround is fairly trivial. It makes more sense to have 
consistent behaviour for all `resetBuffer()` implementations.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to