Code

grpc plugin: Update to the new gRPC API.
authorSebastian Harl <sh@tokkee.org>
Mon, 25 Apr 2016 21:52:57 +0000 (23:52 +0200)
committerSebastian Harl <sh@tokkee.org>
Mon, 30 May 2016 21:44:19 +0000 (23:44 +0200)
src/grpc.cc

index 2f79f42d2b75ae4f3f119eac275b9d098fc65d5e..a1abe4a292d97cb8256afe475456d046b14c2167 100644 (file)
@@ -301,7 +301,7 @@ public:
                        }
                }
 
-               builder.RegisterAsyncService(&service_);
+               builder.RegisterService(&service_);
                cq_ = builder.AddCompletionQueue();
                server_ = builder.BuildAndStart();
        } /* Start() */