Fix unnecessary copy initialization detected by clang-tidy

This commit is contained in:
Camille
2018-01-09 18:22:10 -05:00
committed by Wayne Stambaugh
parent 28692c40e1
commit 3168d03fe5
19 changed files with 35 additions and 35 deletions
+1 -1
View File
@@ -176,7 +176,7 @@ static bool getNumberingOffset( const wxString& str,
DIALOG_CREATE_ARRAY::ARRAY_NUMBERING_TYPE_T type,
int& offsetToFill )
{
const wxString alphabet = alphabetFromNumberingScheme( type );
const wxString& alphabet = alphabetFromNumberingScheme( type );
int offset = 0;
const int radix = alphabet.length();