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() )
|
if( !autoSaveFile.Create() )
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
for( const wxString fileName : autoSavedFiles )
|
for( const wxString& fileName : autoSavedFiles )
|
||||||
{
|
{
|
||||||
wxLogTrace( traceAutoSave, "Adding auto save file %s to %s",
|
wxLogTrace( traceAutoSave, "Adding auto save file %s to %s",
|
||||||
fileName, autoSaveFileName.GetName() );
|
fileName, autoSaveFileName.GetName() );
|
||||||
|
|
Loading…
Reference in New Issue