From 483349bd11336a4b2da0d9b057e8d487aaa49630 Mon Sep 17 00:00:00 2001 From: Marek Roszko Date: Sun, 29 Dec 2024 06:13:39 -0500 Subject: [PATCH] Hackfix build link error due to template being instantiated twice --- eeschema/lib_shape.h | 1 - eeschema/sch_shape.cpp | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/eeschema/lib_shape.h b/eeschema/lib_shape.h index d7b38889ac..335e925849 100644 --- a/eeschema/lib_shape.h +++ b/eeschema/lib_shape.h @@ -139,5 +139,4 @@ private: const TRANSFORM& aTransform, bool aDimmed ) override; }; - #endif // LIB_SHAPE_H diff --git a/eeschema/sch_shape.cpp b/eeschema/sch_shape.cpp index bac8666dc0..e4e19cc453 100644 --- a/eeschema/sch_shape.cpp +++ b/eeschema/sch_shape.cpp @@ -34,6 +34,8 @@ #include #include "plotters/plotter.h" +// This is a horribly fix for a link issue +extern template class wxAnyValueTypeImpl; SCH_SHAPE::SCH_SHAPE( SHAPE_T aShape, int aLineWidth, FILL_T aFillType, KICAD_T aType ) : SCH_ITEM( nullptr, aType ),