Commit 424e1363 authored by Max Kellermann's avatar Max Kellermann

zeroconf/Bonjour: pass SocketDescriptor to constructor

Fixes Mac build failure.
parent 7484bc31
......@@ -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();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment