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/PatchageModule.hpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/PatchageModule.hpp') diff --git a/src/PatchageModule.hpp b/src/PatchageModule.hpp index 249f0ce..aa25546 100644 --- a/src/PatchageModule.hpp +++ b/src/PatchageModule.hpp @@ -41,6 +41,12 @@ public: double x = 0, double y = 0); + PatchageModule(const PatchageModule&) = delete; + PatchageModule& operator=(const PatchageModule&) = delete; + + PatchageModule(PatchageModule&&) = delete; + PatchageModule& operator=(PatchageModule&&) = delete; + ~PatchageModule() override; void split(); -- cgit v1.2.1