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/Driver.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/Driver.hpp') 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; -- cgit v1.2.1