Browse Source

Fixed a compiler warning

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

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

@@ -68,7 +68,7 @@ struct AudioProcessorValueTreeState::Parameter : public AudioProcessorParamete
: text.getFloatValue());
}
String getText (float normalisedValue, int length) const override
String getText (float normalisedValue, int /*length*/) const override
{
auto v = range.convertFrom0to1 (normalisedValue);
return valueToTextFunction != nullptr ? valueToTextFunction (v)


Loading…
Cancel
Save