aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc++
diff options
context:
space:
mode:
authorGravatar ncteisen <ncteisen@gmail.com>2017-11-01 18:23:03 -0700
committerGravatar ncteisen <ncteisen@gmail.com>2017-11-01 18:23:03 -0700
commit27a6713db332ba29b3bee903b84ba3824cc15c6a (patch)
tree37dd009c7ff3e2c1c56fe3d3bd7695f2435003b3 /include/grpc++
parent023726202a0ec2b30f61561e0b990706ed04d578 (diff)
Use protected, remove uneeded member variable
Diffstat (limited to 'include/grpc++')
-rw-r--r--include/grpc++/impl/codegen/proto_utils.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/grpc++/impl/codegen/proto_utils.h b/include/grpc++/impl/codegen/proto_utils.h
index 4a2857488c..0f7e115c9a 100644
--- a/include/grpc++/impl/codegen/proto_utils.h
+++ b/include/grpc++/impl/codegen/proto_utils.h
@@ -87,9 +87,7 @@ class GrpcBufferWriter : public ::grpc::protobuf::io::ZeroCopyOutputStream {
grpc::protobuf::int64 ByteCount() const override { return byte_count_; }
- grpc_slice_buffer* SliceBuffer() { return slice_buffer_; }
-
- private:
+ protected:
friend class GrpcBufferWriterPeer;
const int block_size_;
int64_t byte_count_;