aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar Craig Tiller <craig.tiller@gmail.com>2015-04-27 18:27:04 -0700
committerGravatar Craig Tiller <craig.tiller@gmail.com>2015-04-27 18:27:04 -0700
commit00e5b2a82cbbb5127c29a9241393a501dcba8094 (patch)
tree793b6b304b7e1b5aef413dd8e485d7ed578e6deb /include
parent820b68069a3a1a3c44490bb51778336f3b2c491a (diff)
Mac C++ compile fix
Diffstat (limited to 'include')
-rw-r--r--include/grpc++/channel_interface.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/grpc++/channel_interface.h b/include/grpc++/channel_interface.h
index 4d48974e69..e86a83bc45 100644
--- a/include/grpc++/channel_interface.h
+++ b/include/grpc++/channel_interface.h
@@ -34,6 +34,8 @@
#ifndef GRPCXX_CHANNEL_INTERFACE_H
#define GRPCXX_CHANNEL_INTERFACE_H
+#include <memory>
+
#include <grpc++/status.h>
#include <grpc++/impl/call.h>
@@ -47,7 +49,9 @@ class CompletionQueue;
class RpcMethod;
class CallInterface;
-class ChannelInterface : public CallHook {
+class ChannelInterface
+ : public CallHook,
+ public std::enable_shared_from_this<ChannelInterface> {
public:
virtual ~ChannelInterface() {}