diff options
Diffstat (limited to 'include/grpc++/support/async_unary_call.h')
-rw-r--r-- | include/grpc++/support/async_unary_call.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/grpc++/support/async_unary_call.h b/include/grpc++/support/async_unary_call.h index 0f4ad2656f..396bd15b93 100644 --- a/include/grpc++/support/async_unary_call.h +++ b/include/grpc++/support/async_unary_call.h @@ -35,7 +35,7 @@ #define GRPCXX_SUPPORT_ASYNC_UNARY_CALL_H #include <grpc/support/log.h> -#include <grpc++/channel.h> +#include <grpc++/impl/codegen/channel_interface.h> #include <grpc++/client_context.h> #include <grpc++/completion_queue.h> #include <grpc++/server_context.h> @@ -58,7 +58,7 @@ class ClientAsyncResponseReader GRPC_FINAL : public ClientAsyncResponseReaderInterface<R> { public: template <class W> - ClientAsyncResponseReader(Channel* channel, CompletionQueue* cq, + ClientAsyncResponseReader(ChannelInterface* channel, CompletionQueue* cq, const RpcMethod& method, ClientContext* context, const W& request) : context_(context), call_(channel->CreateCall(method, context, cq)) { |