[SCM] calf/master: add missing virtual destructors, fix gcc 4.1 warnings

js at users.alioth.debian.org js at users.alioth.debian.org
Tue May 7 15:39:07 UTC 2013


The following commit has been merged in the master branch:
commit 8a30ae7f67d4b214349e4c7b938222c4e86f1b0c
Author: Torben Hohn <torbenh at gmx.de>
Date:   Sat Jan 24 21:56:11 2009 +0100

    add missing virtual destructors, fix gcc 4.1 warnings

diff --git a/src/calf/audio_fx.h b/src/calf/audio_fx.h
index ed828b3..003abb1 100644
--- a/src/calf/audio_fx.h
+++ b/src/calf/audio_fx.h
@@ -604,6 +604,8 @@ public:
     virtual void  sanitize() = 0;
     virtual int   process_channel(uint16_t channel_no, float *in, float *out, uint32_t numsamples, int inmask) = 0;
     virtual float freq_gain(int subindex, float freq, float srate) = 0;
+
+    virtual ~filter_module_iface() {}
 };
 
 
diff --git a/src/calf/ctl_curve.h b/src/calf/ctl_curve.h
index 61c0fb6..32ea92f 100644
--- a/src/calf/ctl_curve.h
+++ b/src/calf/ctl_curve.h
@@ -50,6 +50,7 @@ struct CalfCurve
         virtual void curve_changed(CalfCurve *src, const point_vector &data) = 0;
         /// Called to clip/snap/otherwise adjust candidate point coordinates
         virtual void clip(CalfCurve *src, int pt, float &x, float &y, bool &hide) = 0;
+	virtual ~EventSink() {}
     };
 
     /// Null implementation of EventSink
diff --git a/src/calf/ctl_keyboard.h b/src/calf/ctl_keyboard.h
index ce3fc61..516d20e 100644
--- a/src/calf/ctl_keyboard.h
+++ b/src/calf/ctl_keyboard.h
@@ -66,6 +66,8 @@ struct CalfKeyboard
         virtual void note_on(int note, int vel) = 0;
         /// key was released
         virtual void note_off(int note) = 0;
+
+	virtual ~EventSink() {}
     };
 
     /// Null implementation of CalfKeyboard::EventSink
diff --git a/src/calf/lv2helpers.h b/src/calf/lv2helpers.h
index 892f5b6..eb4d39e 100644
--- a/src/calf/lv2helpers.h
+++ b/src/calf/lv2helpers.h
@@ -54,6 +54,7 @@ public:
     virtual void map_uris()
     {
     }
+    virtual ~uri_map_access() {}
 };
     
 /// A mixin for adding the event feature and URI map to the small plugin

-- 
calf audio plugins packaging



More information about the pkg-multimedia-commits mailing list