diff options
Diffstat (limited to 'grpc/src/core/ext/filters/client_channel/client_channel_factory.h')
-rw-r--r-- | grpc/src/core/ext/filters/client_channel/client_channel_factory.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/grpc/src/core/ext/filters/client_channel/client_channel_factory.h b/grpc/src/core/ext/filters/client_channel/client_channel_factory.h index 79797bbc..75d74d67 100644 --- a/grpc/src/core/ext/filters/client_channel/client_channel_factory.h +++ b/grpc/src/core/ext/filters/client_channel/client_channel_factory.h @@ -32,7 +32,8 @@ class ClientChannelFactory { virtual ~ClientChannelFactory() = default; // Creates a subchannel with the specified args. - virtual Subchannel* CreateSubchannel(const grpc_channel_args* args) = 0; + virtual RefCountedPtr<Subchannel> CreateSubchannel( + const grpc_channel_args* args) = 0; // Returns a channel arg containing the specified factory. static grpc_arg CreateChannelArg(ClientChannelFactory* factory); |