diff --git a/include/grpc++/impl/codegen/call.h b/include/grpc++/impl/codegen/call.h index d342a3a25a9066868f8ae4890c054bee6dff66f9..c0753882661804534ad808073bf47b54008661a8 100644 --- a/include/grpc++/impl/codegen/call.h +++ b/include/grpc++/impl/codegen/call.h @@ -544,7 +544,7 @@ class CallOpSet : public CallOpSetInterface, this->Op5::FinishOp(status, max_message_size_); this->Op6::FinishOp(status, max_message_size_); *tag = return_tag_; - SetCollection(nullptr); // drop the ref at this point + collection_.reset(); // drop the ref at this point return true; }