1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-03-23 06:35:50 +01:00

Some replacements of wxArrayString with auto

This commit is contained in:
Paul Licameli
2019-02-12 14:00:23 -05:00
parent e46990f709
commit da33daf197
16 changed files with 25 additions and 25 deletions

View File

@@ -1038,7 +1038,7 @@ bool Effect::SetAutomationParameters(const wxString & parms)
else if (preset.StartsWith(kFactoryPresetIdent))
{
preset.Replace(kFactoryPresetIdent, wxEmptyString, false);
wxArrayString presets = GetFactoryPresets();
auto presets = GetFactoryPresets();
success = LoadFactoryPreset( make_iterator_range( presets ).index( preset ) );
}
else if (preset.StartsWith(kCurrentSettingsIdent))
@@ -3376,7 +3376,7 @@ void EffectUIHost::OnMenu(wxCommandEvent & WXUNUSED(evt))
menu.AppendSeparator();
wxArrayString factory = mEffect->GetFactoryPresets();
auto factory = mEffect->GetFactoryPresets();
{
auto sub = std::make_unique<wxMenu>();