summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-08-18 02:04:44 -0400
committerDavid Robillard <d@drobilla.net>2022-08-18 02:04:44 -0400
commitd9b551a382a3c0dc2213141923ff4e01bbd6fee1 (patch)
tree50082baf1844244022e1198d8206fe472534b8a2 /include
parentfcd8e976dddee4611ae563b4da19274b089b15ae (diff)
downloadingen-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.hpp5
-rw-r--r--include/ingen/Library.hpp4
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 (*)();