← Back to team overview

kicad-developers team mailing list archive

[PATCH] Fix compile error with debug build

 

The recent specctra_export change fails to build with
debug enabled.

Index: b/pcbnew/specctra_export.cpp
===================================================================
--- a/pcbnew/specctra_export.cpp
+++ b/pcbnew/specctra_export.cpp
@@ -785,7 +785,7 @@ void SPECCTRA_DB::fillBOUNDARY( BOARD* a
         else    // remove graphics not on EDGE_N layer
         {
             ++i;
-            D( item->Show( 0, std::cout );)
+            D( items[i]->Show( 0, std::cout );)
         }
     }