summaryrefslogtreecommitdiff
path: root/louloulibs/network/resolver.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'louloulibs/network/resolver.hpp')
-rw-r--r--louloulibs/network/resolver.hpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/louloulibs/network/resolver.hpp b/louloulibs/network/resolver.hpp
index f9e9134..fd57e25 100644
--- a/louloulibs/network/resolver.hpp
+++ b/louloulibs/network/resolver.hpp
@@ -37,6 +37,10 @@ public:
Resolver();
~Resolver() = default;
+ Resolver(const Resolver&) = delete;
+ Resolver(Resolver&&) = delete;
+ Resolver& operator=(const Resolver&) = delete;
+ Resolver& operator=(Resolver&&) = delete;
bool is_resolving() const
{
@@ -117,11 +121,6 @@ private:
ErrorCallbackType error_cb;
SuccessCallbackType success_cb;
-
- Resolver(const Resolver&) = delete;
- Resolver(Resolver&&) = delete;
- Resolver& operator=(const Resolver&) = delete;
- Resolver& operator=(Resolver&&) = delete;
};
std::string addr_to_string(const struct addrinfo* rp);