1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-23 17:30:17 +01:00

Sweep unnecessary wxString copies: rest

This commit is contained in:
Paul Licameli
2016-02-22 21:18:11 -05:00
parent 6597575f6a
commit 9bf098c7d9
44 changed files with 108 additions and 103 deletions

View File

@@ -358,7 +358,7 @@ bool LabelDialog::Validate()
return true;
}
wxString LabelDialog::TrackName(int & index, wxString dflt)
wxString LabelDialog::TrackName(int & index, const wxString &dflt)
{
// Generate a NEW track name if the passed index is out of range
if (index < 1 || index >= (int)mTrackNames.GetCount()) {