diff --git a/src/zeroconf/avahi/Poll.hxx b/src/zeroconf/avahi/Poll.hxx index 321be9ecb..80a3838c1 100644 --- a/src/zeroconf/avahi/Poll.hxx +++ b/src/zeroconf/avahi/Poll.hxx @@ -33,6 +33,10 @@ public: MyAvahiPoll(const MyAvahiPoll &) = delete; MyAvahiPoll &operator=(const MyAvahiPoll &) = delete; + EventLoop &GetEventLoop() const noexcept { + return event_loop; + } + private: static AvahiWatch *WatchNew(const AvahiPoll *api, int fd, AvahiWatchEvent event,