zeroconf/Bonjour: pass SocketDescriptor to constructor
Fixes Mac build failure.
This commit is contained in:
@@ -37,7 +37,8 @@ class BonjourMonitor final : public SocketMonitor {
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
BonjourMonitor(EventLoop &_loop, DNSServiceRef _service_ref)
|
BonjourMonitor(EventLoop &_loop, DNSServiceRef _service_ref)
|
||||||
:SocketMonitor(DNSServiceRefSockFD(_service_ref), _loop),
|
:SocketMonitor(SocketDescriptor(DNSServiceRefSockFD(_service_ref)),
|
||||||
|
_loop),
|
||||||
service_ref(_service_ref) {
|
service_ref(_service_ref) {
|
||||||
ScheduleRead();
|
ScheduleRead();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user