diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/tips/subscriber_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/tips/subscriber_test.cc b/examples/tips/subscriber_test.cc index fda8909a02..736e6da319 100644 --- a/examples/tips/subscriber_test.cc +++ b/examples/tips/subscriber_test.cc @@ -106,7 +106,7 @@ class SubscriberTest : 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()); |