diff options
author | Yang Gao <yangg@google.com> | 2015-03-13 13:28:09 -0700 |
---|---|---|
committer | Yang Gao <yangg@google.com> | 2015-03-13 13:28:09 -0700 |
commit | 2729fbadcf9040c0181e1b87a11ae815f7dfbe52 (patch) | |
tree | 32d436e2249ee061a5158e8edd735d1fd19f7dc9 | |
parent | 4999649653b9262d661eb833724ee28cefedb2bd (diff) |
wording change
-rw-r--r-- | src/cpp/server/server.cc | 4 |
1 files 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; } |