summaryrefslogtreecommitdiff
path: root/louloulibs/network/dns_socket_handler.hpp
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2016-07-27 10:04:15 +0200
committerlouiz’ <louiz@louiz.org>2016-07-27 10:04:15 +0200
commitde0eff6e944db11ae3552e0cd2c191997eebaa2f (patch)
treec5fb320076fde470f600f02e05c4d0a590233856 /louloulibs/network/dns_socket_handler.hpp
parentc7e4fc1386b7992c33ea912bf3bfcfcff5d85758 (diff)
downloadbiboumi-de0eff6e944db11ae3552e0cd2c191997eebaa2f.tar.gz
biboumi-de0eff6e944db11ae3552e0cd2c191997eebaa2f.tar.bz2
biboumi-de0eff6e944db11ae3552e0cd2c191997eebaa2f.tar.xz
biboumi-de0eff6e944db11ae3552e0cd2c191997eebaa2f.zip
Revert "Don’t use unique_ptr to store dns socket handlers"
This reverts commit 5328d0806fdc5becb9344b4d4320787a2b7c0712.
Diffstat (limited to 'louloulibs/network/dns_socket_handler.hpp')
-rw-r--r--louloulibs/network/dns_socket_handler.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/louloulibs/network/dns_socket_handler.hpp b/louloulibs/network/dns_socket_handler.hpp
index bd431e1..dba2f26 100644
--- a/louloulibs/network/dns_socket_handler.hpp
+++ b/louloulibs/network/dns_socket_handler.hpp
@@ -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