Add default VECTOR2D constructor for SCH_LINE

This commit is contained in:
Seth Hillbrand 2019-12-13 05:19:28 -08:00
parent dc241df602
commit ac7538cc22
1 changed files with 4 additions and 0 deletions

View File

@ -50,6 +50,10 @@ public:
SCH_LINE( const wxPoint& pos = wxPoint( 0, 0 ), int layer = LAYER_NOTES );
SCH_LINE( const VECTOR2D& pos, int layer = LAYER_NOTES ) :
SCH_LINE( wxPoint( pos.x, pos.y ), layer )
{}
SCH_LINE( const SCH_LINE& aLine );
~SCH_LINE() { }