summaryrefslogtreecommitdiffstats
path: root/src/Driver.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-11-27 17:58:02 +0100
committerDavid Robillard <d@drobilla.net>2020-11-27 21:42:52 +0100
commit8e0e1eba9d111ea35be475262056aa8351dd5f54 (patch)
tree143191b99b76602bd70f7864d87bd9c951023ef6 /src/Driver.hpp
parent76e4307c2f57df359651dab61184fd521ffb1fbf (diff)
downloadpatchage-8e0e1eba9d111ea35be475262056aa8351dd5f54.tar.gz
patchage-8e0e1eba9d111ea35be475262056aa8351dd5f54.tar.bz2
patchage-8e0e1eba9d111ea35be475262056aa8351dd5f54.zip
Make Driver::destroy_all() pure virtual
Diffstat (limited to 'src/Driver.hpp')
-rw-r--r--src/Driver.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Driver.hpp b/src/Driver.hpp
index 4186cf2..58f6c4d 100644
--- a/src/Driver.hpp
+++ b/src/Driver.hpp
@@ -1,5 +1,5 @@
/* This file is part of Patchage.
- * Copyright 2007-2014 David Robillard <http://drobilla.net>
+ * Copyright 2007-2020 David Robillard <d@drobilla.net>
*
* Patchage is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free
@@ -28,7 +28,7 @@ class PatchageCanvas;
class Driver
{
public:
- virtual ~Driver() {}
+ virtual ~Driver() = default;
virtual void process_events(Patchage* app) = 0;
@@ -36,8 +36,8 @@ public:
virtual void detach() = 0;
virtual bool is_attached() const = 0;
- virtual void refresh() = 0;
- virtual void destroy_all() {}
+ virtual void refresh() = 0;
+ virtual void destroy_all() = 0;
virtual PatchagePort*
create_port_view(Patchage* patchage, const PortID& id) = 0;