D_PAD copy ctor and operator = : fix missing copy of pad name and pin function members.

This commit is contained in:
jean-pierre charras 2020-07-25 13:28:20 +02:00
parent bebba1df61
commit 377da31fcc
1 changed files with 4 additions and 0 deletions

View File

@ -105,6 +105,8 @@ D_PAD::D_PAD( const D_PAD& aOther ) :
SetPadToDieLength( aOther.GetPadToDieLength() );
SetPosition( aOther.GetPosition() );
SetPos0( aOther.GetPos0() );
SetName( aOther.GetName() );
SetPinFunction( aOther.GetPinFunction() );
}
@ -116,6 +118,8 @@ D_PAD& D_PAD::operator=( const D_PAD &aOther )
SetPadToDieLength( aOther.GetPadToDieLength() );
SetPosition( aOther.GetPosition() );
SetPos0( aOther.GetPos0() );
SetName( aOther.GetName() );
SetPinFunction( aOther.GetPinFunction() );
return *this;
}