diff --git a/eeschema/dialogs/dialog_fields_editor_global.cpp b/eeschema/dialogs/dialog_fields_editor_global.cpp index 153bd1c2f3..8388876e16 100644 --- a/eeschema/dialogs/dialog_fields_editor_global.cpp +++ b/eeschema/dialogs/dialog_fields_editor_global.cpp @@ -888,9 +888,9 @@ void DIALOG_FIELDS_EDITOR_GLOBAL::AddField( const wxString& aName, m_config->Read( "SymbolFieldEditor/Show/" + aName, &defaultShow ); m_config->Read( "SymbolFieldEditor/GroupBy/" + aName, &defaultSortBy ); - fieldsCtrlRow.emplace_back( wxVariant( aName ) ); - fieldsCtrlRow.emplace_back( wxVariant( defaultShow ) ); - fieldsCtrlRow.emplace_back( wxVariant( defaultSortBy ) ); + fieldsCtrlRow.push_back( wxVariant( aName ) ); + fieldsCtrlRow.push_back( wxVariant( defaultShow ) ); + fieldsCtrlRow.push_back( wxVariant( defaultSortBy ) ); m_fieldsCtrl->AppendItem( fieldsCtrlRow ); }