zeroconf/avahi/Poll: forbid copying
This commit is contained in:
parent
c0b9339d31
commit
ec05056e38
@ -30,6 +30,9 @@ class MyAvahiPoll final : public AvahiPoll {
|
|||||||
public:
|
public:
|
||||||
MyAvahiPoll(EventLoop &_loop);
|
MyAvahiPoll(EventLoop &_loop);
|
||||||
|
|
||||||
|
MyAvahiPoll(const MyAvahiPoll &) = delete;
|
||||||
|
MyAvahiPoll &operator=(const MyAvahiPoll &) = delete;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
static AvahiWatch *WatchNew(const AvahiPoll *api, int fd,
|
static AvahiWatch *WatchNew(const AvahiPoll *api, int fd,
|
||||||
AvahiWatchEvent event,
|
AvahiWatchEvent event,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user