1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Minor cleanup in ChoicePropertyComponent

This commit is contained in:
ed 2018-03-22 15:04:21 +00:00
parent 9e867255d3
commit 9916aa6870
2 changed files with 4 additions and 4 deletions

View file

@ -155,7 +155,7 @@ ChoicePropertyComponent::ChoicePropertyComponent (const Value& valueToControl,
correspondingValues)));
}
ChoicePropertyComponent::ChoicePropertyComponent (ValueWithDefault valueToControl,
ChoicePropertyComponent::ChoicePropertyComponent (const ValueWithDefault& valueToControl,
const String& name,
const StringArray& choiceList,
const Array<var>& correspondingValues)
@ -167,7 +167,7 @@ ChoicePropertyComponent::ChoicePropertyComponent (ValueWithDefault valueToContro
correspondingValues)));
}
ChoicePropertyComponent::ChoicePropertyComponent (ValueWithDefault valueToControl,
ChoicePropertyComponent::ChoicePropertyComponent (const ValueWithDefault& valueToControl,
const String& name)
: PropertyComponent (name),
choices ({ "Enabled", "Disabled" })