Fix missing reference in for loop
This commit is contained in:
parent
61025de865
commit
280743d9e9
|
@ -1308,7 +1308,7 @@ bool SCH_EDIT_FRAME::updateAutoSaveFile()
|
|||
if( !autoSaveFile.Create() )
|
||||
return false;
|
||||
|
||||
for( const wxString fileName : autoSavedFiles )
|
||||
for( const wxString& fileName : autoSavedFiles )
|
||||
{
|
||||
wxLogTrace( traceAutoSave, "Adding auto save file %s to %s",
|
||||
fileName, autoSaveFileName.GetName() );
|
||||
|
|
Loading…
Reference in New Issue