1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-05 03:50:07 +00:00

Fixed some compiler errors in the AAX wrapper when JUCE_STRING_UTF_TYPE != 8

This commit is contained in:
ed 2019-09-10 09:06:10 +01:00
parent 4b92a111d3
commit 168f7e655b

View file

@ -1521,7 +1521,7 @@ namespace AAXClasses
: juceParameters.getParamID (audioProcessor, parameterIndex);
aaxParamIDs.add (paramID);
auto aaxParamID = aaxParamIDs.getReference (parameterIndex++).getCharPointer();
auto* aaxParamID = aaxParamIDs.getReference (parameterIndex++).toRawUTF8();
paramMap.set (AAXClasses::getAAXParamHash (aaxParamID), juceParam);
@ -1910,7 +1910,7 @@ namespace AAXClasses
inline AAX_CParamID getAAXParamIDFromJuceIndex (int index) const noexcept
{
if (isPositiveAndBelow (index, aaxParamIDs.size()))
return aaxParamIDs.getReference (index).getCharPointer();
return aaxParamIDs.getReference (index).toRawUTF8();
return nullptr;
}