Add comment for error case

pull/22383/head
yang-g 5 years ago
parent 61a0212539
commit b0ae82fe42
  1. 2
      include/grpcpp/server_builder_impl.h

@ -107,6 +107,8 @@ class ServerBuilder {
/// traffic (via AddListeningPort)
/// 3. [for async api only] completion queues have been added via
/// AddCompletionQueue
///
/// Will return a nullptr on errors.
virtual std::unique_ptr<grpc::Server> BuildAndStart();
/// Register a service. This call does not take ownership of the service.

Loading…
Cancel
Save