From a0f5cb45285bd9320c2c587c9a3b2fa7b2e7041c Mon Sep 17 00:00:00 2001 From: yang-g Date: Thu, 13 Jun 2019 22:08:09 -0700 Subject: [PATCH] Fix assignment operator --- include/grpcpp/impl/codegen/call_op_set.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/include/grpcpp/impl/codegen/call_op_set.h b/include/grpcpp/impl/codegen/call_op_set.h index 95664a800fa..c3ae6c4e3d2 100644 --- a/include/grpcpp/impl/codegen/call_op_set.h +++ b/include/grpcpp/impl/codegen/call_op_set.h @@ -188,11 +188,6 @@ class WriteOptions { /// \sa GRPC_WRITE_LAST_MESSAGE bool is_last_message() const { return last_message_; } - WriteOptions& operator=(const WriteOptions& rhs) { - flags_ = rhs.flags_; - return *this; - } - private: void SetBit(const uint32_t mask) { flags_ |= mask; }