From ce77106994b2b66eeaab9c8fa5471c60ab9947da Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Thu, 2 Jan 2020 20:44:43 +0100 Subject: [PATCH] Remove code only used during a test. --- gerbview/readgerb.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/gerbview/readgerb.cpp b/gerbview/readgerb.cpp index 6e946ff256..7bbbe65aae 100644 --- a/gerbview/readgerb.cpp +++ b/gerbview/readgerb.cpp @@ -99,11 +99,7 @@ bool GERBVIEW_FRAME::Read_GERBER_File( const wxString& GERBER_FullFileName ) // (maybe convert geometry into positives?) } -#ifdef GBR_USE_DLIST - for( auto item = gerber->GetFirstItemInList(); item; item = item->Next() ) -#else for( auto item : gerber->GetItems() ) -#endif GetCanvas()->GetView()->Add( (KIGFX::VIEW_ITEM*) item ); }