Fixed "implicitly-declared operator=" error from gcc 9

pull/19647/head
Przemysław Sobala 6 years ago
parent 8cd016f597
commit 9e65a88762
  1. 3
      include/grpcpp/impl/codegen/call_op_set.h

@ -88,6 +88,9 @@ class WriteOptions {
WriteOptions(const WriteOptions& other)
: flags_(other.flags_), last_message_(other.last_message_) {}
/// Default assignment operator
WriteOptions& operator=(const WriteOptions& other) = default;
/// Clear all flags.
inline void Clear() { flags_ = 0; }

Loading…
Cancel
Save