GitHub user szenker opened a pull request: https://github.com/apache/thrift/pull/798
C++: declared TTransport::isOpen() and TTransport::getOrigin() as const member functions Also TTransport::peek() should be const in my opinion, but this requires some refactoring. You can merge this pull request into a Git repository by running: $ git pull https://github.com/szenker/thrift THRIFT-3560 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/thrift/pull/798.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #798 ---- commit 19ac70fc5e10ce7ee60877cc273972fccb41388f Author: Sebastian Zenker <sebastian.zen...@gmx.de> Date: 2016-01-18T07:48:20Z C++: declared TTransport::isOpen() and TTransport::getOrigin() as const member functions. Also TTransport::peek() should be const in my opinion, but this requires some refactoring. ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---