Fix unnecessary copy initialization detected by clang-tidy
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user