From 6310f84a57a00e4d64e7da174a20eefe4915536e Mon Sep 17 00:00:00 2001 From: Ian McInerney Date: Sat, 24 Sep 2022 00:08:32 +0100 Subject: [PATCH] Fix shadowed definition of EAGLE constant --- common/eda_tools.cpp | 4 ++-- include/eda_tools.h | 4 ++-- kicad/tools/kicad_manager_control.cpp | 23 +++++++++++------------ 3 files changed, 15 insertions(+), 16 deletions(-) diff --git a/common/eda_tools.cpp b/common/eda_tools.cpp index 99cf40165d..3de85578f9 100644 --- a/common/eda_tools.cpp +++ b/common/eda_tools.cpp @@ -34,7 +34,7 @@ bool IsFileFromEDATool( const wxFileName& aFileName, const EDA_TOOLS aTool ) { switch( aTool ) { - case EAGLE: + case EDA_TOOLS::EAGLE: if( textFile.GetLineCount() > 2 && textFile[1].StartsWith( wxT( "