From 27a6713db332ba29b3bee903b84ba3824cc15c6a Mon Sep 17 00:00:00 2001 From: ncteisen Date: Wed, 1 Nov 2017 18:23:03 -0700 Subject: [PATCH] Use protected, remove uneeded member variable --- include/grpc++/impl/codegen/proto_utils.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/grpc++/impl/codegen/proto_utils.h b/include/grpc++/impl/codegen/proto_utils.h index 4a2857488c8..0f7e115c9af 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_;