diff options
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 (*)(); |