diff --git a/eeschema/sch_io/easyedapro/sch_easyedapro_parser.cpp b/eeschema/sch_io/easyedapro/sch_easyedapro_parser.cpp index 9e23f470ad..d960622893 100644 --- a/eeschema/sch_io/easyedapro/sch_easyedapro_parser.cpp +++ b/eeschema/sch_io/easyedapro/sch_easyedapro_parser.cpp @@ -495,8 +495,7 @@ SCH_EASYEDAPRO_PARSER::ParseSymbol( const std::vector& aLines, std::vector points = line.at( 2 ); wxString styleStr = line.at( 3 ); - std::unique_ptr shape = - std::make_unique( ksymbol, SHAPE_T::BEZIER ); + auto shape = std::make_unique( SHAPE_T::BEZIER, LAYER_DEVICE ); for( size_t i = 1; i < points.size(); i += 2 ) {