aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/pubsub/subscriber.cc
diff options
context:
space:
mode:
authorGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2015-04-10 04:46:03 +0200
committerGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2015-04-10 18:28:13 +0200
commita9ef765bfcd2fbc8c588ea1cdcb5681547fc364f (patch)
tree994980c251f49f07973212a736fc1a6b88cfbd66 /examples/pubsub/subscriber.cc
parent9f72864caf46f292d0f0ce34baa5ec0e1beb7739 (diff)
parente2ecc508415b95526563eb7b70510e015b9a004e (diff)
Merge branch 'master' of github.com:grpc/grpc into sanity
Conflicts: tools/run_tests/run_tests.py
Diffstat (limited to 'examples/pubsub/subscriber.cc')
-rw-r--r--examples/pubsub/subscriber.cc7
1 files changed, 2 insertions, 5 deletions
diff --git a/examples/pubsub/subscriber.cc b/examples/pubsub/subscriber.cc
index 29f6635b7c..d9e0292ba0 100644
--- a/examples/pubsub/subscriber.cc
+++ b/examples/pubsub/subscriber.cc
@@ -49,12 +49,9 @@ namespace examples {
namespace pubsub {
Subscriber::Subscriber(std::shared_ptr<ChannelInterface> channel)
- : stub_(SubscriberService::NewStub(channel)) {
-}
+ : stub_(SubscriberService::NewStub(channel)) {}
-void Subscriber::Shutdown() {
- stub_.reset();
-}
+void Subscriber::Shutdown() { stub_.reset(); }
Status Subscriber::CreateSubscription(const grpc::string& topic,
const grpc::string& name) {