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 2f79f42..a1abe4a 100644 (file)
@@ -301,7 +301,7 @@ public:
                        }
                }
 
-               builder.RegisterAsyncService(&service_);
+               builder.RegisterService(&service_);
                cq_ = builder.AddCompletionQueue();
                server_ = builder.BuildAndStart();
        } /* Start() */