aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/UdpSocket.h2
1 files changed, 2 insertions, 0 deletions
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();