zeroconf/avahi/Poll: forbid copying

This commit is contained in:
Max Kellermann 2021-02-22 14:26:03 +01:00
parent c0b9339d31
commit ec05056e38
1 changed files with 3 additions and 0 deletions

View File

@ -30,6 +30,9 @@ class MyAvahiPoll final : public AvahiPoll {
public:
MyAvahiPoll(EventLoop &_loop);
MyAvahiPoll(const MyAvahiPoll &) = delete;
MyAvahiPoll &operator=(const MyAvahiPoll &) = delete;
private:
static AvahiWatch *WatchNew(const AvahiPoll *api, int fd,
AvahiWatchEvent event,