Fix default argument(put it in header instead of source file)

pull/16217/head
Sree Kuchibhotla 6 years ago
parent 42c5fb98f6
commit a2a64e5ad3
  1. 2
      include/grpcpp/server.h
  2. 2
      src/cpp/server/server_cc.cc

@ -149,7 +149,7 @@ class Server : public ServerInterface, private GrpcLibraryCodegen {
std::shared_ptr<std::vector<std::unique_ptr<ServerCompletionQueue>>>
sync_server_cqs,
int min_pollers, int max_pollers, int sync_cq_timeout_msec,
grpc_resource_quota* server_rq);
grpc_resource_quota* server_rq = nullptr);
/// Start the server.
///

@ -383,7 +383,7 @@ Server::Server(
std::shared_ptr<std::vector<std::unique_ptr<ServerCompletionQueue>>>
sync_server_cqs,
int min_pollers, int max_pollers, int sync_cq_timeout_msec,
grpc_resource_quota* server_rq = nullptr)
grpc_resource_quota* server_rq)
: max_receive_message_size_(max_receive_message_size),
sync_server_cqs_(std::move(sync_server_cqs)),
started_(false),

Loading…
Cancel
Save