Skip to content
Snippets Groups Projects
Commit b11728b9 authored by Craig Tiller's avatar Craig Tiller
Browse files

Mac C++ compile fix

parent b33e2d3b
No related branches found
No related tags found
No related merge requests found
...@@ -34,6 +34,8 @@ ...@@ -34,6 +34,8 @@
#ifndef GRPCXX_CHANNEL_INTERFACE_H #ifndef GRPCXX_CHANNEL_INTERFACE_H
#define GRPCXX_CHANNEL_INTERFACE_H #define GRPCXX_CHANNEL_INTERFACE_H
#include <memory>
#include <grpc++/status.h> #include <grpc++/status.h>
#include <grpc++/impl/call.h> #include <grpc++/impl/call.h>
...@@ -47,7 +49,9 @@ class CompletionQueue; ...@@ -47,7 +49,9 @@ class CompletionQueue;
class RpcMethod; class RpcMethod;
class CallInterface; class CallInterface;
class ChannelInterface : public CallHook { class ChannelInterface
: public CallHook,
public std::enable_shared_from_this<ChannelInterface> {
public: public:
virtual ~ChannelInterface() {} virtual ~ChannelInterface() {}
......
...@@ -51,7 +51,6 @@ class Credentials; ...@@ -51,7 +51,6 @@ class Credentials;
class StreamContextInterface; class StreamContextInterface;
class Channel GRPC_FINAL : public GrpcLibrary, class Channel GRPC_FINAL : public GrpcLibrary,
public std::enable_shared_from_this<Channel>,
public ChannelInterface { public ChannelInterface {
public: public:
Channel(const grpc::string& target, grpc_channel* c_channel); Channel(const grpc::string& target, grpc_channel* c_channel);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment