aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc++
diff options
context:
space:
mode:
authorGravatar yang-g <yangg@google.com>2016-05-10 13:10:25 -0700
committerGravatar yang-g <yangg@google.com>2016-05-10 16:47:02 -0700
commitb6f853d0658397ad13c3fb6032114fa179738c70 (patch)
tree34f87bfda01b50678453c9069af2feee22a98bc6 /include/grpc++
parent7099d6fed66500ae6b3f3abdb69e8818eb057704 (diff)
Add comment
Diffstat (limited to 'include/grpc++')
-rw-r--r--include/grpc++/impl/codegen/call.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/grpc++/impl/codegen/call.h b/include/grpc++/impl/codegen/call.h
index c10c834b04..d457f03fa6 100644
--- a/include/grpc++/impl/codegen/call.h
+++ b/include/grpc++/impl/codegen/call.h
@@ -329,6 +329,8 @@ class CallOpGenericRecvMessage {
template <class R>
void RecvMessage(R* message) {
+ // Use an explicit base class pointer to avoid resolution error in the
+ // following unique_ptr::reset for some old implementations.
CallOpGenericRecvMessageHelper::DeserializeFunc* func =
new CallOpGenericRecvMessageHelper::DeserializeFuncType<R>(message);
deserialize_.reset(func);