zeroconf/Bonjour: pass SocketDescriptor to constructor

Fixes Mac build failure.
This commit is contained in:
Max Kellermann 2017-08-11 08:25:26 +02:00
parent 7484bc31b4
commit 424e1363ed
1 changed files with 2 additions and 1 deletions

View File

@ -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();
}