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/AlsaDriver.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/AlsaDriver.hpp')
-rw-r--r-- | src/AlsaDriver.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/AlsaDriver.hpp b/src/AlsaDriver.hpp index 92c303f..2af3553 100644 --- a/src/AlsaDriver.hpp +++ b/src/AlsaDriver.hpp @@ -39,6 +39,12 @@ class AlsaDriver : public Driver public: explicit AlsaDriver(Patchage* app); + AlsaDriver(const AlsaDriver&) = delete; + AlsaDriver& operator=(const AlsaDriver&) = delete; + + AlsaDriver(AlsaDriver&&) = delete; + AlsaDriver& operator=(AlsaDriver&&) = delete; + ~AlsaDriver() override; void attach(bool launch_daemon) override; |