summaryrefslogtreecommitdiff
path: root/louloulibs/network/dns_handler.hpp
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2016-07-07 09:27:22 +0200
committerlouiz’ <louiz@louiz.org>2016-07-12 11:15:42 +0200
commit5328d0806fdc5becb9344b4d4320787a2b7c0712 (patch)
tree5d3547e1c84f7ef6b86e10842ed0bb87bf6b5588 /louloulibs/network/dns_handler.hpp
parent9fb2e116c47a9d4e2866d34450d12dcb90d4a26c (diff)
downloadbiboumi-5328d0806fdc5becb9344b4d4320787a2b7c0712.tar.gz
biboumi-5328d0806fdc5becb9344b4d4320787a2b7c0712.tar.bz2
biboumi-5328d0806fdc5becb9344b4d4320787a2b7c0712.tar.xz
biboumi-5328d0806fdc5becb9344b4d4320787a2b7c0712.zip
Don’t use unique_ptr to store dns socket handlers
Diffstat (limited to 'louloulibs/network/dns_handler.hpp')
-rw-r--r--louloulibs/network/dns_handler.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/louloulibs/network/dns_handler.hpp b/louloulibs/network/dns_handler.hpp
index e0feb11..d8b55c8 100644
--- a/louloulibs/network/dns_handler.hpp
+++ b/louloulibs/network/dns_handler.hpp
@@ -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<std::unique_ptr<DNSSocketHandler>> socket_handlers;
+ std::vector<DNSSocketHandler> socket_handlers;
ares_channel channel;
};