[ https://issues.apache.org/jira/browse/THRIFT-3560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16735814#comment-16735814 ]
James E. King III commented on THRIFT-3560: ------------------------------------------- Given THRIFT-4720 is introducing breaking changes to C++, now would be a very good time to fix const correctness issues like this in the public interface. > C++ TTransport::isOpen() and TTransport::getOrigin() should be const member > functions > ------------------------------------------------------------------------------------- > > Key: THRIFT-3560 > URL: https://issues.apache.org/jira/browse/THRIFT-3560 > Project: Thrift > Issue Type: Improvement > Components: C++ - Library > Affects Versions: 0.9.3, 0.10.0, 1.0 > Reporter: Sebastian Zenker > Priority: Minor > Labels: easyfix > > ... as they should not alter the state of TTransport. Also peek() should be > const in my opinion, but this requires some more refactoring. -- This message was sent by Atlassian JIRA (v7.6.3#76005)