From 2729fbadcf9040c0181e1b87a11ae815f7dfbe52 Mon Sep 17 00:00:00 2001 From: Yang Gao Date: Fri, 13 Mar 2015 13:28:09 -0700 Subject: wording change --- src/cpp/server/server.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cpp/server/server.cc b/src/cpp/server/server.cc index cc632a7192..cd6b8a554b 100644 --- a/src/cpp/server/server.cc +++ b/src/cpp/server/server.cc @@ -211,7 +211,7 @@ bool Server::RegisterService(RpcService* service) { bool Server::RegisterAsyncService(AsynchronousService* service) { GPR_ASSERT(service->dispatch_impl_ == nullptr && - "Can only register an asynchronous service against one server."); + "Can only register one asynchronous service against one server."); service->dispatch_impl_ = this; service->request_args_ = new void* [service->method_count_]; for (size_t i = 0; i < service->method_count_; ++i) { @@ -230,7 +230,7 @@ bool Server::RegisterAsyncService(AsynchronousService* service) { void Server::RegisterAsyncGenericService(AsyncGenericService* service) { GPR_ASSERT(service->server_ == nullptr && - "Can only register an generic service against one server."); + "Can only register one generic service against one server."); service->server_ = this; } -- cgit v1.2.3