diff --git a/modules/juce_audio_plugin_client/juce_audio_plugin_client_Standalone.cpp b/modules/juce_audio_plugin_client/juce_audio_plugin_client_Standalone.cpp index 820fd22943..5bac735657 100644 --- a/modules/juce_audio_plugin_client/juce_audio_plugin_client_Standalone.cpp +++ b/modules/juce_audio_plugin_client/juce_audio_plugin_client_Standalone.cpp @@ -113,7 +113,7 @@ public: #ifdef JucePlugin_PreferredChannelConfigurations constexpr StandalonePluginHolder::PluginInOuts channels[] { JucePlugin_PreferredChannelConfigurations }; - const Array channelConfig {channels, juce::numElementsInArray (channels)); + const Array channelConfig (channels, juce::numElementsInArray (channels)); #else const Array channelConfig; #endif