summaryrefslogtreecommitdiffstats
path: root/raul/Socket.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-07-17 19:35:01 +0200
committerDavid Robillard <d@drobilla.net>2020-07-17 19:59:47 +0200
commitef887c4d678b632ffebd753049056ffa5bfd5c62 (patch)
treeea8be1dc9a577a113a72e0168e195fefa59d26bf /raul/Socket.hpp
parent9788bd372ebd949d14f8656b3ce171202f4d7e8b (diff)
downloadraul-ef887c4d678b632ffebd753049056ffa5bfd5c62.tar.gz
raul-ef887c4d678b632ffebd753049056ffa5bfd5c62.tar.bz2
raul-ef887c4d678b632ffebd753049056ffa5bfd5c62.zip
Explicitly delete copy operators
Diffstat (limited to 'raul/Socket.hpp')
-rw-r--r--raul/Socket.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/raul/Socket.hpp b/raul/Socket.hpp
index 470527f..307aab7 100644
--- a/raul/Socket.hpp
+++ b/raul/Socket.hpp
@@ -53,6 +53,9 @@ public:
socklen_t addr_len,
int fd);
+ Socket(const Socket&) = delete;
+ Socket& operator=(const Socket&) = delete;
+
~Socket();
/** Bind a server socket to an address.