zeroconf/avahi/Poll: forbid copying
This commit is contained in:
parent
c0b9339d31
commit
ec05056e38
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue