summaryrefslogtreecommitdiff
path: root/louloulibs/network/socket_handler.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'louloulibs/network/socket_handler.hpp')
-rw-r--r--louloulibs/network/socket_handler.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/louloulibs/network/socket_handler.hpp b/louloulibs/network/socket_handler.hpp
index eeb41fe..869ac3b 100644
--- a/louloulibs/network/socket_handler.hpp
+++ b/louloulibs/network/socket_handler.hpp
@@ -15,10 +15,10 @@ public:
socket(socket)
{}
virtual ~SocketHandler() {}
- SocketHandler(const SocketHandler&) = delete;
- SocketHandler(SocketHandler&&) = delete;
+ SocketHandler& operator=(SocketHandler&&) = default;
+ SocketHandler(SocketHandler&&) = default;
SocketHandler& operator=(const SocketHandler&) = delete;
- SocketHandler& operator=(SocketHandler&&) = delete;
+ SocketHandler(const SocketHandler&) = delete;
virtual void on_recv() = 0;
virtual void on_send() = 0;