From 3faf3ea27c44dc006efd2b48cfc3b0f71ea78245 Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Mon, 30 Oct 2023 20:59:25 -0400 Subject: [PATCH] Fix ambiguous overload error in gcc 11 --- eeschema/sch_plugins/easyedapro/sch_easyedapro_plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eeschema/sch_plugins/easyedapro/sch_easyedapro_plugin.cpp b/eeschema/sch_plugins/easyedapro/sch_easyedapro_plugin.cpp index 5db11c5fb1..0c30e3174a 100644 --- a/eeschema/sch_plugins/easyedapro/sch_easyedapro_plugin.cpp +++ b/eeschema/sch_plugins/easyedapro/sch_easyedapro_plugin.cpp @@ -421,7 +421,7 @@ SCH_SHEET* SCH_EASYEDAPRO_PLUGIN::LoadSchematicFile( const wxString& aFileName, if( aProperties && aProperties->Exists( "sch_id" ) ) { - schematicToLoad = aProperties->at( "sch_id" ); + schematicToLoad = wxString::FromUTF8( aProperties->at( "sch_id" ) ); } else {