Revert "Don’t use unique_ptr to store dns socket handlers"

This reverts commit 5328d0806f.
This commit is contained in:
louiz’
2016-07-27 10:04:15 +02:00
parent c7e4fc1386
commit de0eff6e94
4 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ private:
* call to ares_fds. DNSSocketHandlers are added to it or removed from it
* in the watch_dns_sockets() method
*/
std::vector<DNSSocketHandler> socket_handlers;
std::vector<std::unique_ptr<DNSSocketHandler>> socket_handlers;
ares_channel channel;
};