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/Maid.hpp | |
parent | 9788bd372ebd949d14f8656b3ce171202f4d7e8b (diff) | |
download | raul-ef887c4d678b632ffebd753049056ffa5bfd5c62.tar.gz raul-ef887c4d678b632ffebd753049056ffa5bfd5c62.tar.bz2 raul-ef887c4d678b632ffebd753049056ffa5bfd5c62.zip |
Explicitly delete copy operators
Diffstat (limited to 'raul/Maid.hpp')
-rw-r--r-- | raul/Maid.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/raul/Maid.hpp b/raul/Maid.hpp index fa54871..b7ae5d9 100644 --- a/raul/Maid.hpp +++ b/raul/Maid.hpp @@ -42,6 +42,8 @@ public: class Disposable : public Deletable { public: Disposable() = default; + Disposable(const Disposable&) = delete; + Disposable& operator=(const Disposable&) = delete; private: friend class Maid; |