diff options
author | Vijay Pai <vpai@google.com> | 2016-02-08 11:38:42 -0800 |
---|---|---|
committer | Vijay Pai <vpai@google.com> | 2016-02-08 11:38:42 -0800 |
commit | c593ca017161e48367bf7182f01dac477109cf21 (patch) | |
tree | 5864d9dc1e6d9119b4b2d33e494485c895dd418c /include/grpc++/impl/codegen | |
parent | 4d9d4abc4973e35fad369c9cd6c8bc3624de73f2 (diff) |
reset the shared_ptr
Diffstat (limited to 'include/grpc++/impl/codegen')
-rw-r--r-- | include/grpc++/impl/codegen/call.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/grpc++/impl/codegen/call.h b/include/grpc++/impl/codegen/call.h index d342a3a25a..c075388266 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; } |