diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/TcpSocket.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/TcpSocket.h b/src/TcpSocket.h index 5a4a808..8df913f 100644 --- a/src/TcpSocket.h +++ b/src/TcpSocket.h @@ -67,6 +67,8 @@ class TcpSocket ~TcpSocket(); TcpSocket(TcpSocket&& other); TcpSocket& operator=(TcpSocket&& other); + TcpSocket(const TcpSocket& other) = delete; + TcpSocket& operator=(const TcpSocket& other) = delete; int close(); @@ -94,8 +96,6 @@ class TcpSocket private: TcpSocket(SOCKET sock, InetAddress own, InetAddress remote); - TcpSocket(const TcpSocket& other) = delete; - TcpSocket& operator=(const TcpSocket& other) = delete; /// The address on which the socket is bound. InetAddress m_own_address; |