RkGrit commented on code in PR #110:
URL: https://github.com/apache/tsfile/pull/110#discussion_r1650260944
##########
cpp/src/encoding/bitpack_encoder.h:
##########
@@ -58,9 +58,7 @@ class BitPackEncoder {
packer_ = nullptr;
}
- void destroy() { /* do nothing for BitPackEncoder */
- delete (packer_);
- }
+ void destroy() { /* do nothing for BitPackEncoder */ delete (packer_); }
Review Comment:
This is a comment left over by history, which was initially intended to
indicate that the destroy method requires no special cleanup, and just the
removal of packer_.
--
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]