aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-02-09 16:24:20 -0800
committerGravatar Craig Tiller <ctiller@google.com>2015-02-09 16:24:20 -0800
commitf8ac5d846c26b4b83828117ec20f13b61b998e32 (patch)
tree6df828fb2dba9c3a151fdc33d02e2cae12f90ad3 /examples
parent65130596c1e6a2635b3eb26ae7c7399d0eda60e7 (diff)
Fixup callers with new api
Diffstat (limited to 'examples')
-rw-r--r--examples/tips/publisher_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/tips/publisher_test.cc b/examples/tips/publisher_test.cc
index 34737ae6ed..db3e3784da 100644
--- a/examples/tips/publisher_test.cc
+++ b/examples/tips/publisher_test.cc
@@ -107,7 +107,7 @@ class PublisherTest : public ::testing::Test {
server_address_ << "localhost:" << port;
ServerBuilder builder;
builder.AddPort(server_address_.str());
- builder.RegisterService(service_.service());
+ builder.RegisterService(&service_);
server_ = builder.BuildAndStart();
channel_ = CreateChannel(server_address_.str(), ChannelArguments());