Fix warning: field '_done' will be initialized after field '_wait' [-Wreorder] _done(false),
This commit is contained in:
parent
a79f4c10a1
commit
ba54664748
@ -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++)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user