Skip to content

Commit

Permalink
Update example
Browse files Browse the repository at this point in the history
  • Loading branch information
yang-g committed Jan 15, 2016
1 parent 77c6333 commit 54099aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/cpp/helloworld/greeter_async_server.cc
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class ServerImpl final {
builder.AddListeningPort(server_address, grpc::InsecureServerCredentials());
// Register "service_" as the instance through which we'll communicate with
// clients. In this case it corresponds to an *asynchronous* service.
builder.RegisterAsyncService(&service_);
builder.RegisterService(&service_);
// Get hold of the completion queue used for the asynchronous communication
// with the gRPC runtime.
cq_ = builder.AddCompletionQueue();
Expand Down

0 comments on commit 54099aa

Please sign in to comment.