summaryrefslogtreecommitdiffstats
path: root/src/Patchage.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-11-27 17:58:11 +0100
committerDavid Robillard <d@drobilla.net>2020-11-27 21:42:52 +0100
commit96b68f0c39b02b41f96245cedcc156c60c3317e2 (patch)
tree7d53160bb696be28dc637314b6b9d377ff66a7e3 /src/Patchage.hpp
parentf66e011d34fa511690e5b4863849ac9104f08d9d (diff)
downloadpatchage-96b68f0c39b02b41f96245cedcc156c60c3317e2.tar.gz
patchage-96b68f0c39b02b41f96245cedcc156c60c3317e2.tar.bz2
patchage-96b68f0c39b02b41f96245cedcc156c60c3317e2.zip
Explicitly delete or define all special member functions
Diffstat (limited to 'src/Patchage.hpp')
-rw-r--r--src/Patchage.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Patchage.hpp b/src/Patchage.hpp
index ba02710..98537a1 100644
--- a/src/Patchage.hpp
+++ b/src/Patchage.hpp
@@ -61,6 +61,12 @@ public:
Patchage(int argc, char** argv);
~Patchage();
+ Patchage(const Patchage&) = delete;
+ Patchage& operator=(const Patchage&) = delete;
+
+ Patchage(Patchage&&) = delete;
+ Patchage& operator=(Patchage&&) = delete;
+
const std::shared_ptr<PatchageCanvas>& canvas() const { return _canvas; }
Gtk::Window* window() { return _main_win.get(); }