From 04898ca3f29ade0a0687a8f71adebd882616593a Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Fri, 27 Nov 2015 16:31:53 +0100 Subject: Respect Rule of Three for UdpSocket --- src/UdpSocket.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/UdpSocket.h b/src/UdpSocket.h index 849bed4..07e9f0e 100644 --- a/src/UdpSocket.h +++ b/src/UdpSocket.h @@ -69,6 +69,8 @@ class UdpSocket { UdpSocket(); UdpSocket(int port, char *name = NULL); ~UdpSocket(); + UdpSocket(const UdpSocket& other) = delete; + const UdpSocket& operator=(const UdpSocket& other) = delete; static int init(); static int clean(); -- cgit v1.2.3