gearmulator

Emulation of classic VA synths of the late 90s/2000s that are based on Motorola 56300 family DSPs
Log | Files | Refs | Submodules | README | LICENSE

commit 543c8de24248856afc0ec3a2320513d4398cf6d1
parent f0ac202577d50f624f54a48cbf7017929552ea2d
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date:   Fri, 31 May 2024 17:31:39 +0200

fix compile error in reassignment of event while keeping the same callback

Diffstat:
Msource/jucePluginLib/event.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/source/jucePluginLib/event.h b/source/jucePluginLib/event.h @@ -166,7 +166,7 @@ namespace pluginLib if(auto callback = m_event->getListener(m_listenerId)) { m_event->removeListener(m_listenerId); - m_listenerId = _event.addListener(callback); + m_listenerId = _event.addListener(*callback); } else {