Merge pull request #19347 from yang-g/call_op_set_cp

Fix assignment operator
pull/19351/head
Yang Gao 6 years ago committed by GitHub
commit 93eb102a55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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