Merge pull request #20681 from nanahpang/fix_gpr_log_error

Comment out lines that cause error "undefined reference to gpr_log"
pull/18435/head
nanahpang 5 years ago committed by GitHub
commit 8619219081
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      include/grpcpp/impl/codegen/call_op_set.h

@ -942,8 +942,8 @@ class CallOpSet : public CallOpSetInterface,
// A failure here indicates an API misuse; for example, doing a Write
// while another Write is already pending on the same RPC or invoking
// WritesDone multiple times
gpr_log(GPR_ERROR, "API misuse of type %s observed",
g_core_codegen_interface->grpc_call_error_to_string(err));
// gpr_log(GPR_ERROR, "API misuse of type %s observed",
// g_core_codegen_interface->grpc_call_error_to_string(err));
GPR_CODEGEN_ASSERT(false);
}
}

Loading…
Cancel
Save