Commit 06b9bdba authored by Max Kellermann's avatar Max Kellermann

zeroconf/Bonjour: disallow copying

parent bd0aa74b
......@@ -49,6 +49,9 @@ public:
DNSServiceRefDeallocate(service_ref);
}
BonjourHelper(const BonjourHelper &) = delete;
BonjourHelper &operator=(const BonjourHelper &) = delete;
void Cancel() noexcept {
socket_event.Cancel();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment