Fix formatting

pull/23182/head
Karthik Ravi Shankar 4 years ago
parent 0ac5d5e111
commit 8e5d8e64d3
  1. 3
      include/grpcpp/server_builder.h
  2. 4
      src/cpp/server/server_builder.cc

@ -261,8 +261,7 @@ class ServerBuilder {
/// experimental.
class experimental_type {
public:
explicit experimental_type(ServerBuilder* builder)
: builder_(builder) {}
explicit experimental_type(ServerBuilder* builder) : builder_(builder) {}
void SetInterceptorCreators(
std::vector<std::unique_ptr<

@ -203,8 +203,8 @@ ServerBuilder& ServerBuilder::SetResourceQuota(
}
ServerBuilder& ServerBuilder::AddListeningPort(
const grpc::string& addr_uri,
std::shared_ptr<ServerCredentials> creds, int* selected_port) {
const grpc::string& addr_uri, std::shared_ptr<ServerCredentials> creds,
int* selected_port) {
const grpc::string uri_scheme = "dns:";
grpc::string addr = addr_uri;
if (addr_uri.compare(0, uri_scheme.size(), uri_scheme) == 0) {

Loading…
Cancel
Save