1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Windows: Fix build warnings when JUCE_DISABLE_ASSERTIONS is set

This commit is contained in:
reuk 2024-09-05 11:30:55 +01:00
parent 6e9b7dad9a
commit 8754d87900
6 changed files with 13 additions and 16 deletions

View file

@ -263,7 +263,7 @@ void AudioPluginInstance::addHostedParameterGroup (std::unique_ptr<AudioProcesso
// garbage and your host will crash and burn
for (auto* param : group->getParameters (true))
{
jassert (dynamic_cast<HostedParameter*> (param) != nullptr);
jassertquiet (dynamic_cast<HostedParameter*> (param) != nullptr);
}
#endif
@ -277,7 +277,7 @@ void AudioPluginInstance::setHostedParameterTree (AudioProcessorParameterGroup g
// garbage and your host will crash and burn
for (auto* param : group.getParameters (true))
{
jassert (dynamic_cast<HostedParameter*> (param) != nullptr);
jassertquiet (dynamic_cast<HostedParameter*> (param) != nullptr);
}
#endif