From de332dfcac51e080e4c294d183906e5969672133 Mon Sep 17 00:00:00 2001 From: vjpai Date: Thu, 7 Jan 2016 10:20:46 -0800 Subject: Refactor server side to support generic tests. --- include/grpc++/support/byte_buffer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/grpc++/support/byte_buffer.h') diff --git a/include/grpc++/support/byte_buffer.h b/include/grpc++/support/byte_buffer.h index 3adf86c479..a089dbb4cb 100644 --- a/include/grpc++/support/byte_buffer.h +++ b/include/grpc++/support/byte_buffer.h @@ -61,6 +61,8 @@ class ByteBuffer GRPC_FINAL { ~ByteBuffer(); + ByteBuffer& operator=(const ByteBuffer&); + /// Dump (read) the buffer contents into \a slices. void Dump(std::vector* slices) const; @@ -76,8 +78,6 @@ class ByteBuffer GRPC_FINAL { private: friend class SerializationTraits; - ByteBuffer& operator=(const ByteBuffer&); - // takes ownership void set_buffer(grpc_byte_buffer* buf) { if (buffer_) { -- cgit v1.2.3