1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-03-08 23:45:37 +01:00

Sweep unnecessary wxString copies: commands

This commit is contained in:
Paul Licameli
2016-02-22 21:17:41 -05:00
parent 99f161c36c
commit 923a6ce4af
11 changed files with 60 additions and 56 deletions

View File

@@ -75,7 +75,7 @@ bool SetProjectInfoCommand::Apply(CommandExecutionContext context)
// *********************** Private Methods *******************
void SetProjectInfoCommand::SetAllTracksParam(TrackList *projTracks, wxString boolValueStr, Setter functPtrToSetter)
void SetProjectInfoCommand::SetAllTracksParam(TrackList *projTracks, const wxString &boolValueStr, Setter functPtrToSetter)
{
unsigned int i=0;
TrackListIterator iter(projTracks);