remove unused constructor parameter

This commit is contained in:
2024-07-10 17:20:09 +02:00
parent 506f17ca75
commit 5a49b62649

View File

@@ -2,6 +2,7 @@
#include "ivoice.h" #include "ivoice.h"
#include "midi_event.h" #include "midi_event.h"
#include "voice_allocator.h" #include "voice_allocator.h"
#include <cstring>
#include <memory> #include <memory>
#include <vector> #include <vector>
@@ -12,7 +13,7 @@ namespace trnr {
template <typename t_voice, typename t_sample> template <typename t_voice, typename t_sample>
class midi_synth : public voice_allocator<t_voice, t_sample> { class midi_synth : public voice_allocator<t_voice, t_sample> {
public: public:
midi_synth(int _n_voices) midi_synth()
: m_voices_active {false} : m_voices_active {false}
{ {
// checks whether template derives from ivoice // checks whether template derives from ivoice