Hi,
After update to Juce 6 I received the error in
juce_AudioProcessorValueTreeState.cpp:495
template <typename Attachment, typename Control>
std::unique_ptr<Attachment> makeAttachment (const AudioProcessorValueTreeState& stateToUse,
const String& parameterID,
Control& control)
{
if (auto* parameter = stateToUse.getParameter (parameterID))
return std::make_unique<Attachment> (*parameter, control, stateToUse.undoManager);
jassertfalse;
return nullptr;}
It calls after
buttonsBlock.forwardButtonAttachment.reset ( new ButtonAttachment (valueTreeState, buttonsBlock.forwardButton.getName(), buttonsBlock.forwardButton));
How can I fix it? What is the problem?
Thank you
