diff options
author | David Robillard <d@drobilla.net> | 2022-08-18 02:04:44 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-08-18 02:04:44 -0400 |
commit | d9b551a382a3c0dc2213141923ff4e01bbd6fee1 (patch) | |
tree | 50082baf1844244022e1198d8206fe472534b8a2 /include | |
parent | fcd8e976dddee4611ae563b4da19274b089b15ae (diff) | |
download | ingen-d9b551a382a3c0dc2213141923ff4e01bbd6fee1.tar.gz ingen-d9b551a382a3c0dc2213141923ff4e01bbd6fee1.tar.bz2 ingen-d9b551a382a3c0dc2213141923ff4e01bbd6fee1.zip |
Clean up special member functions
Diffstat (limited to 'include')
-rw-r--r-- | include/ingen/ColorContext.hpp | 5 | ||||
-rw-r--r-- | include/ingen/Library.hpp | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/include/ingen/ColorContext.hpp b/include/ingen/ColorContext.hpp index f33b7e2c..251812b8 100644 --- a/include/ingen/ColorContext.hpp +++ b/include/ingen/ColorContext.hpp @@ -31,6 +31,11 @@ public: ColorContext(FILE* stream, Color color); ~ColorContext(); + ColorContext(const ColorContext&) = delete; + ColorContext& operator=(const ColorContext&) = delete; + ColorContext(ColorContext&&) = delete; + ColorContext& operator=(ColorContext&) = delete; + private: FILE* _stream; }; diff --git a/include/ingen/Library.hpp b/include/ingen/Library.hpp index d7d7054a..4cee985f 100644 --- a/include/ingen/Library.hpp +++ b/include/ingen/Library.hpp @@ -29,8 +29,10 @@ public: Library(const FilePath& path); ~Library(); - Library(const Library&) = delete; + Library(const Library&) = delete; Library& operator=(const Library&) = delete; + Library(Library&&) = delete; + Library& operator=(Library&&) = delete; using VoidFuncPtr = void (*)(); |