Fixed build with old Clang.

This commit is contained in:
XMRig 2020-04-12 19:41:25 +07:00
parent d27647e408
commit 9634907676
No known key found for this signature in database
GPG key ID: 446A53638BE94409

View file

@ -45,7 +45,7 @@ public:
AAAA AAAA
}; };
DnsRecord() = default; DnsRecord() {}
DnsRecord(const addrinfo *addr); DnsRecord(const addrinfo *addr);
sockaddr *addr(uint16_t port = 0) const; sockaddr *addr(uint16_t port = 0) const;