mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Fixed a compiler warning on Android
This commit is contained in:
parent
b2ec7f07a5
commit
d2bcc74f46
1 changed files with 3 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue