diff options
author | David Robillard <d@drobilla.net> | 2020-07-17 19:35:01 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-07-17 19:59:47 +0200 |
commit | ef887c4d678b632ffebd753049056ffa5bfd5c62 (patch) | |
tree | ea8be1dc9a577a113a72e0168e195fefa59d26bf /raul/Socket.hpp | |
parent | 9788bd372ebd949d14f8656b3ce171202f4d7e8b (diff) | |
download | raul-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.hpp | 3 |
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. |