Fixed build with old Clang.

This commit is contained in:
XMRig
2020-04-12 19:41:25 +07:00
parent d27647e408
commit 9634907676
+1 -1
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;