Merge pull request #19047 from grpc/vjpai-patch-1

Remove reference to "class Channel" from gen. code
pull/19062/head
Vijay Pai 6 years ago committed by GitHub
commit 28866246e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      src/compiler/cpp_generator.cc
  2. 1
      test/cpp/codegen/compiler_test_golden

@ -160,7 +160,6 @@ grpc::string GetHeaderIncludes(grpc_generator::File* file,
printer->Print(vars, "class MessageAllocator;\n");
printer->Print(vars, "} // namespace experimental\n");
printer->Print(vars, "class CompletionQueue;\n");
printer->Print(vars, "class Channel;\n");
printer->Print(vars, "class ServerCompletionQueue;\n");
printer->Print(vars, "class ServerContext;\n");
printer->Print(vars, "} // namespace grpc\n\n");

@ -46,7 +46,6 @@ template <typename RequestT, typename ResponseT>
class MessageAllocator;
} // namespace experimental
class CompletionQueue;
class Channel;
class ServerCompletionQueue;
class ServerContext;
} // namespace grpc

Loading…
Cancel
Save