diff options
author | David Robillard <d@drobilla.net> | 2020-11-27 17:58:11 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-11-27 21:42:52 +0100 |
commit | 96b68f0c39b02b41f96245cedcc156c60c3317e2 (patch) | |
tree | 7d53160bb696be28dc637314b6b9d377ff66a7e3 /src/PatchagePort.hpp | |
parent | f66e011d34fa511690e5b4863849ac9104f08d9d (diff) | |
download | patchage-96b68f0c39b02b41f96245cedcc156c60c3317e2.tar.gz patchage-96b68f0c39b02b41f96245cedcc156c60c3317e2.tar.bz2 patchage-96b68f0c39b02b41f96245cedcc156c60c3317e2.zip |
Explicitly delete or define all special member functions
Diffstat (limited to 'src/PatchagePort.hpp')
-rw-r--r-- | src/PatchagePort.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
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" */ |