Revert "Don’t use unique_ptr to store dns socket handlers"
This reverts commit 5328d0806f.
This commit is contained in:
@@ -18,10 +18,10 @@ class DNSSocketHandler: public SocketHandler
|
||||
public:
|
||||
explicit DNSSocketHandler(std::shared_ptr<Poller> poller, const socket_t socket);
|
||||
~DNSSocketHandler() = default;
|
||||
DNSSocketHandler(DNSSocketHandler&&) = default;
|
||||
DNSSocketHandler& operator=(DNSSocketHandler&&) = default;
|
||||
DNSSocketHandler(const DNSSocketHandler&) = delete;
|
||||
DNSSocketHandler(DNSSocketHandler&&) = delete;
|
||||
DNSSocketHandler& operator=(const DNSSocketHandler&) = delete;
|
||||
DNSSocketHandler& operator=(DNSSocketHandler&&) = delete;
|
||||
|
||||
/**
|
||||
* Just call dns_process_fd, c-ares will do its work of send()ing or
|
||||
|
||||
Reference in New Issue
Block a user