Fix initialization order

pull/23446/head
yang-g 4 years ago
parent 3201d7f7bf
commit 03056001db
  1. 4
      src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc

@ -102,11 +102,11 @@ class GrpcPolledFdWindows {
GrpcPolledFdWindows(ares_socket_t as, GrpcPolledFdWindows(ares_socket_t as,
std::shared_ptr<WorkSerializer> work_serializer, std::shared_ptr<WorkSerializer> work_serializer,
int address_family, int socket_type) int address_family, int socket_type)
: name_(absl::StrFormat("c-ares socket: %" PRIdPTR, as)), : work_serializer_(std::move(work_serializer)),
work_serializer_(std::move(work_serializer)),
read_buf_(grpc_empty_slice()), read_buf_(grpc_empty_slice()),
write_buf_(grpc_empty_slice()), write_buf_(grpc_empty_slice()),
tcp_write_state_(WRITE_IDLE), tcp_write_state_(WRITE_IDLE),
name_(absl::StrFormat("c-ares socket: %" PRIdPTR, as)),
gotten_into_driver_list_(false), gotten_into_driver_list_(false),
address_family_(address_family), address_family_(address_family),
socket_type_(socket_type) { socket_type_(socket_type) {

Loading…
Cancel
Save