Browse Source

Hackfix build link error due to template being instantiated twice

8.0
Marek Roszko 10 months ago
parent
commit
483349bd11
  1. 1
      eeschema/lib_shape.h
  2. 2
      eeschema/sch_shape.cpp

1
eeschema/lib_shape.h

@ -139,5 +139,4 @@ private:
const TRANSFORM& aTransform, bool aDimmed ) override;
};
#endif // LIB_SHAPE_H

2
eeschema/sch_shape.cpp

@ -34,6 +34,8 @@
#include <sch_shape.h>
#include "plotters/plotter.h"
// This is a horribly fix for a link issue
extern template class wxAnyValueTypeImpl<FILL_T>;
SCH_SHAPE::SCH_SHAPE( SHAPE_T aShape, int aLineWidth, FILL_T aFillType, KICAD_T aType ) :
SCH_ITEM( nullptr, aType ),

Loading…
Cancel
Save