From be11f60acfc7a9283ab038b4a1cd25e5e6882cc7 Mon Sep 17 00:00:00 2001 From: Florian Jung Date: Thu, 30 Dec 2010 16:23:59 +0100 Subject: Note inherits from NoteSkel -- DOES NOT WORK! The program compiles well, but as soon as a note is created, it exits, because a pure virtual method is called in NoteSkel's ctor (which is called before Note's ctor) which tries to call a function which is implemented in Note, but not in NoteSkel --- synth/note_skel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'synth/note_skel.h') diff --git a/synth/note_skel.h b/synth/note_skel.h index b36d28c..75cdc8f 100644 --- a/synth/note_skel.h +++ b/synth/note_skel.h @@ -10,7 +10,7 @@ class NoteSkel { public: NoteSkel(int n, float v,program_t &prg, jack_nframes_t pf, fixed_t pb, int prg_no); - virtual ~NoteSkel()=0; + virtual ~NoteSkel(); virtual fixed_t get_sample()=0; int get_program(); -- cgit v1.2.3