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 bd9d091b63ea33f8826a15ef195727f34849a0b4
parent 5d24a317f22da45f28e34d19b57360cfcf472208
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date:   Thu, 30 May 2024 20:57:12 +0200

fix events couldn't work with reference types

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 @@ -81,7 +81,7 @@ namespace pluginLib std::map<ListenerId, Callback> m_listeners; bool m_hasRetainedValue = false; - std::tuple<Ts...> m_retainedValue; + std::tuple<std::remove_reference_t<Ts>...> m_retainedValue; }; template<typename ...Ts>