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