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

This commit is contained in:
Sree Kuchibhotla 2018-08-06 11:58:20 -07:00
parent 42c5fb98f6
commit a2a64e5ad3
2 changed files with 2 additions and 2 deletions

View File

@ -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.
///

View File

@ -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),