Use superclass's copy c'tor from within subclass copy c'tor.

Fixes https://gitlab.com/kicad/code/kicad/issues/10481
This commit is contained in:
Jeff Young 2022-01-18 18:39:50 +00:00
parent f60c05fc67
commit 8c758aeeb5
1 changed files with 1 additions and 1 deletions

View File

@ -1302,7 +1302,7 @@ FP_ZONE::FP_ZONE( BOARD_ITEM_CONTAINER* aParent ) :
FP_ZONE::FP_ZONE( const FP_ZONE& aZone ) :
ZONE( aZone.GetParent(), true )
ZONE( aZone )
{
InitDataFromSrcInCopyCtor( aZone );
}