aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/compiler/cpp_generator.cc
diff options
context:
space:
mode:
authorGravatar Craig Tiller <craig.tiller@gmail.com>2015-02-12 17:39:26 -0800
committerGravatar Craig Tiller <craig.tiller@gmail.com>2015-02-12 17:39:26 -0800
commit0220cf14b02e9d3aa43c9cece4f52a8ca3f49d55 (patch)
tree79b8bf7dc289396eeba881077b5659cb85cff732 /src/compiler/cpp_generator.cc
parentc645306b64c96d51c4d9104711e8eae9020e7354 (diff)
Add end2end async unary single threaded test (compiles)
Diffstat (limited to 'src/compiler/cpp_generator.cc')
-rw-r--r--src/compiler/cpp_generator.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/cpp_generator.cc b/src/compiler/cpp_generator.cc
index 1ab4c29451..a34aa4e568 100644
--- a/src/compiler/cpp_generator.cc
+++ b/src/compiler/cpp_generator.cc
@@ -335,7 +335,7 @@ void PrintHeaderService(google::protobuf::io::Printer *printer,
printer->Indent();
(*vars)["MethodCount"] = as_string(service->method_count());
printer->Print("explicit AsyncService(::grpc::CompletionQueue* cq);\n");
- printer->Print("~AsyncService();\n");
+ printer->Print("~AsyncService() {};\n");
for (int i = 0; i < service->method_count(); ++i) {
PrintHeaderServerMethodAsync(printer, service->method(i), vars);
}