From ac7538cc22a49f8bdee9c855364a90ef7e122c8d Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Fri, 13 Dec 2019 05:19:28 -0800 Subject: [PATCH] Add default VECTOR2D constructor for SCH_LINE --- eeschema/sch_line.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/eeschema/sch_line.h b/eeschema/sch_line.h index abb4a60742..6d1befc1b4 100644 --- a/eeschema/sch_line.h +++ b/eeschema/sch_line.h @@ -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() { }