zeroconf/Bonjour: disallow copying
This commit is contained in:
parent
bd0aa74bdd
commit
06b9bdba2c
@ -49,6 +49,9 @@ public:
|
|||||||
DNSServiceRefDeallocate(service_ref);
|
DNSServiceRefDeallocate(service_ref);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
BonjourHelper(const BonjourHelper &) = delete;
|
||||||
|
BonjourHelper &operator=(const BonjourHelper &) = delete;
|
||||||
|
|
||||||
void Cancel() noexcept {
|
void Cancel() noexcept {
|
||||||
socket_event.Cancel();
|
socket_event.Cancel();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user