Fix assignment operator

pull/19347/head
yang-g 6 years ago
parent 17afa603a1
commit a0f5cb4528
  1. 5
      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; }

Loading…
Cancel
Save