From 8e0e1eba9d111ea35be475262056aa8351dd5f54 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 27 Nov 2020 17:58:02 +0100 Subject: Make Driver::destroy_all() pure virtual --- src/Driver.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/Driver.hpp') 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 + * Copyright 2007-2020 David Robillard * * 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; -- cgit v1.2.1