Browse Source

Fixed a compiler warning on Android

tags/2021-05-28
hogliux 7 years ago
parent
commit
d2bcc74f46
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      modules/juce_audio_processors/utilities/juce_AudioProcessorValueTreeState.cpp

+ 3
- 3
modules/juce_audio_processors/utilities/juce_AudioProcessorValueTreeState.cpp View File

@@ -70,9 +70,9 @@ struct AudioProcessorValueTreeState::Parameter : public AudioProcessorParamete
String getText (float normalisedValue, int length) const override
{
auto value = range.convertFrom0to1 (normalisedValue);
return valueToTextFunction != nullptr ? valueToTextFunction (value)
: AudioProcessorParameter::getText (value, length);
auto v = range.convertFrom0to1 (normalisedValue);
return valueToTextFunction != nullptr ? valueToTextFunction (v)
: AudioProcessorParameter::getText (v, length);
}
int getNumSteps() const override


Loading…
Cancel
Save