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:
parent
6e9b7dad9a
commit
8754d87900
6 changed files with 13 additions and 16 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue