mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
AudioProcessor: Fix version hint check
This commit is contained in:
parent
f0b7c3aa13
commit
a233dc2680
1 changed files with 1 additions and 1 deletions
|
|
@ -438,7 +438,7 @@ void AudioProcessor::validateParameter (AudioProcessorParameter* param)
|
|||
*/
|
||||
#if JucePlugin_Build_AU
|
||||
static std::once_flag flag;
|
||||
if (wrapperType == wrapperType_Undefined || param->getVersionHint() != 0)
|
||||
if (wrapperType != wrapperType_Undefined && param->getVersionHint() == 0)
|
||||
std::call_once (flag, [] { jassertfalse; });
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue