From 96b68f0c39b02b41f96245cedcc156c60c3317e2 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 27 Nov 2020 17:58:11 +0100 Subject: Explicitly delete or define all special member functions --- src/Patchage.hpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/Patchage.hpp') 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& canvas() const { return _canvas; } Gtk::Window* window() { return _main_win.get(); } -- cgit v1.2.1