From 37651dad20b7d6fd79a170073baba0d7f594a85d Mon Sep 17 00:00:00 2001 From: Tobias Doerffel Date: Sun, 11 Nov 2012 19:43:34 +0100 Subject: [PATCH] AudioPort: made destructor virtual It is recommended to make destructors virtual if the class is polymorphic. --- include/AudioPort.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/AudioPort.h b/include/AudioPort.h index 5cfcbef53..82e61fb1e 100644 --- a/include/AudioPort.h +++ b/include/AudioPort.h @@ -37,7 +37,7 @@ class AudioPort { public: AudioPort( const QString & _name, bool _has_effect_chain = true ); - ~AudioPort(); + virtual ~AudioPort(); inline sampleFrame * firstBuffer() {