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/Driver.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/Driver.hpp')
-rw-r--r-- | src/Driver.hpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Driver.hpp b/src/Driver.hpp index 58f6c4d..b0373af 100644 --- a/src/Driver.hpp +++ b/src/Driver.hpp @@ -28,6 +28,14 @@ class PatchageCanvas; class Driver { public: + Driver() = default; + + Driver(const Driver&) = delete; + Driver& operator=(const Driver&) = delete; + + Driver(Driver&&) = delete; + Driver& operator=(Driver&&) = delete; + virtual ~Driver() = default; virtual void process_events(Patchage* app) = 0; |