aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2015-11-27 16:31:53 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2015-11-27 16:31:53 +0100
commit04898ca3f29ade0a0687a8f71adebd882616593a (patch)
treeb0b226a09e2c3c2229f9ca8b8b5d6567282bedbf
parent79a788b6139f121e30816c046f7ff2c4320d5a0b (diff)
downloaddabmux-04898ca3f29ade0a0687a8f71adebd882616593a.tar.gz
dabmux-04898ca3f29ade0a0687a8f71adebd882616593a.tar.bz2
dabmux-04898ca3f29ade0a0687a8f71adebd882616593a.zip
Respect Rule of Three for UdpSocket
-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();