Compile fixes

This commit is contained in:
xenakios 2019-07-16 15:46:44 +03:00
parent b052ee7a10
commit 942d8aa382
2 changed files with 3 additions and 3 deletions

View File

@ -121,7 +121,7 @@ inline void storeToTreeProperties(ValueTree dest, UndoManager* uman, AudioParame
if (par) dest.setProperty(par->paramID,(int)*par,uman);
}
inline void storeToTreeProperties(ValueTree dest, UndoManager* uman, const OwnedArray<AudioProcessorParameter>& pars,
inline void storeToTreeProperties(ValueTree dest, UndoManager* uman, const Array<AudioProcessorParameter*>& pars,
const std::set<AudioProcessorParameter*>& ignorepars = {})
{
for (auto& e : pars)
@ -173,7 +173,7 @@ inline void getFromTreeProperties(ValueTree src, T par)
}
}
inline void getFromTreeProperties(ValueTree src, const OwnedArray<AudioProcessorParameter>& pars)
inline void getFromTreeProperties(ValueTree src, const Array<AudioProcessorParameter*>& pars)
{
for (auto& e : pars)
{

View File

@ -152,7 +152,7 @@
<MODULE id="juce_gui_basics" showAllCode="1" useLocalCopy="0" useGlobalPath="1"/>
<MODULE id="juce_gui_extra" showAllCode="1" useLocalCopy="0" useGlobalPath="1"/>
</MODULES>
<JUCEOPTIONS JUCE_QUICKTIME="disabled" JUCE_ASIO="1"/>
<JUCEOPTIONS JUCE_QUICKTIME="disabled" JUCE_ASIO="1" JUCE_VST3_CAN_REPLACE_VST2="0"/>
<LIVE_SETTINGS>
<OSX/>
<WINDOWS/>