diff options
| author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-10-30 12:59:30 +0100 | 
|---|---|---|
| committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-10-30 12:59:30 +0100 | 
| commit | 555121f96e769fdeb9529e7381560d8bbb6e2713 (patch) | |
| tree | c0879c538d6ac1af8c7fdfbbbfaef927284f79eb | |
| parent | 9635e1f40238b8b8f95854b80810c9db0b241100 (diff) | |
| download | dabmux-555121f96e769fdeb9529e7381560d8bbb6e2713.tar.gz dabmux-555121f96e769fdeb9529e7381560d8bbb6e2713.tar.bz2 dabmux-555121f96e769fdeb9529e7381560d8bbb6e2713.zip | |
Make deleted TcpSocket constructors public
| -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; | 
