diff --git a/include/grpcpp/generic/generic_stub.h b/include/grpcpp/generic/generic_stub.h index 2c75c58913b..8a8806a5e7b 100644 --- a/include/grpcpp/generic/generic_stub.h +++ b/include/grpcpp/generic/generic_stub.h @@ -106,7 +106,7 @@ class TemplatedGenericStub final { /// StartCall is invoked on its reactor. void PrepareUnaryCall(ClientContext* context, const std::string& method, const RequestType* request, ResponseType* response, - ClientUnaryReactor* reactor) { + ::grpc_impl::ClientUnaryReactor* reactor) { PrepareUnaryCallInternal(context, method, request, response, reactor); } @@ -115,7 +115,7 @@ class TemplatedGenericStub final { /// until StartCall is invoked on its reactor. void PrepareBidiStreamingCall( ClientContext* context, const std::string& method, - ClientBidiReactor* reactor) { + ::grpc_impl::ClientBidiReactor* reactor) { PrepareBidiStreamingCallInternal(context, method, reactor); } #endif