From 5a49b62649c7724f9613a0f62f447f492eaee506 Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 10 Jul 2024 17:20:09 +0200 Subject: [PATCH] remove unused constructor parameter --- synth/midi_synth.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/synth/midi_synth.h b/synth/midi_synth.h index 11d6e96..bab3a12 100644 --- a/synth/midi_synth.h +++ b/synth/midi_synth.h @@ -2,6 +2,7 @@ #include "ivoice.h" #include "midi_event.h" #include "voice_allocator.h" +#include #include #include @@ -12,7 +13,7 @@ namespace trnr { template class midi_synth : public voice_allocator { public: - midi_synth(int _n_voices) + midi_synth() : m_voices_active {false} { // checks whether template derives from ivoice