aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorGravatar Stanley Cheung <stanley.cheung@gmail.com>2016-03-18 10:50:37 -0700
committerGravatar Stanley Cheung <stanley.cheung@gmail.com>2016-03-18 10:50:37 -0700
commit4302be789d89703d48f033c44720f828765f1467 (patch)
tree12b4a80ed0b75f3781ea2a6996aa08da7522afe1 /examples
parent47277bc12775fdf96648668cabcab4321a004c38 (diff)
parentc67a8ec111c6fafeab879b63a594aabde08fb4d2 (diff)
Merge pull request #5798 from y-zeng/documentation
Doc Fixit: examples/cpp/helloworld/README.md
Diffstat (limited to 'examples')
-rw-r--r--examples/cpp/helloworld/README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/cpp/helloworld/README.md b/examples/cpp/helloworld/README.md
index 8e11f7cdf3..04283eabc3 100644
--- a/examples/cpp/helloworld/README.md
+++ b/examples/cpp/helloworld/README.md
@@ -207,7 +207,7 @@ completion queue to return the tag. The basic flow is
helloworld::Greeter::AsyncService service;
ServerBuilder builder;
builder.AddListeningPort("0.0.0.0:50051", InsecureServerCredentials());
- builder.RegisterAsyncService(&service);
+ builder.RegisterService(&service);
auto cq = builder.AddCompletionQueue();
auto server = builder.BuildAndStart();
```