Loading new/sch_part.cpp +5 −4 Original line number Diff line number Diff line Loading @@ -247,9 +247,7 @@ void PART::inherit( const PART& other ) { contains = other.contains; setExtends( other.extends ? new LPID( *other.extends ) : 0 ); body = other.body; // @todo copy the inherited drawables, properties, and pins here } Loading @@ -258,8 +256,11 @@ PART& PART::operator=( const PART& other ) owner = other.owner; partName = other.partName; revision = other.revision; body = other.body; setExtends( other.extends ? new LPID( *other.extends ) : 0 ); // maintain inherit() as a partial assignment operator. // maintain in concert with inherit(), which is a partial assignment operator. inherit( other ); return *this; Loading Loading
new/sch_part.cpp +5 −4 Original line number Diff line number Diff line Loading @@ -247,9 +247,7 @@ void PART::inherit( const PART& other ) { contains = other.contains; setExtends( other.extends ? new LPID( *other.extends ) : 0 ); body = other.body; // @todo copy the inherited drawables, properties, and pins here } Loading @@ -258,8 +256,11 @@ PART& PART::operator=( const PART& other ) owner = other.owner; partName = other.partName; revision = other.revision; body = other.body; setExtends( other.extends ? new LPID( *other.extends ) : 0 ); // maintain inherit() as a partial assignment operator. // maintain in concert with inherit(), which is a partial assignment operator. inherit( other ); return *this; Loading