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/PatchagePort.hpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/PatchagePort.hpp') diff --git a/src/PatchagePort.hpp b/src/PatchagePort.hpp index 8811feb..b790f0d 100644 --- a/src/PatchagePort.hpp +++ b/src/PatchagePort.hpp @@ -60,6 +60,12 @@ public: signal_event().connect(sigc::mem_fun(this, &PatchagePort::on_event)); } + PatchagePort(const PatchagePort&) = delete; + PatchagePort& operator=(const PatchagePort&) = delete; + + PatchagePort(PatchagePort&&) = delete; + PatchagePort& operator=(PatchagePort&&) = delete; + ~PatchagePort() override = default; /** Returns the full name of this port, as "modulename:portname" */ -- cgit v1.2.1