From b0ae82fe42de06b7f8fd47d2596362064ef34bbe Mon Sep 17 00:00:00 2001 From: yang-g Date: Tue, 17 Mar 2020 10:55:48 -0700 Subject: [PATCH] Add comment for error case --- include/grpcpp/server_builder_impl.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/grpcpp/server_builder_impl.h b/include/grpcpp/server_builder_impl.h index 294a798bb9c..171f1ac6c84 100644 --- a/include/grpcpp/server_builder_impl.h +++ b/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 BuildAndStart(); /// Register a service. This call does not take ownership of the service.