Fix warning: field '_done' will be initialized after field '_wait' [-Wreorder] _done(false),

This commit is contained in:
Benjamin Sergeant 2018-12-23 14:17:30 -08:00
parent a79f4c10a1
commit ba54664748

View File

@ -25,9 +25,9 @@ namespace ix
DNSLookup::DNSLookup(const std::string& hostname, int port, int64_t wait) : DNSLookup::DNSLookup(const std::string& hostname, int port, int64_t wait) :
_hostname(hostname), _hostname(hostname),
_port(port), _port(port),
_wait(wait),
_res(nullptr), _res(nullptr),
_done(false), _done(false),
_wait(wait),
_id(_nextId++) _id(_nextId++)
{ {