Use superclass's copy c'tor from within subclass copy c'tor.
Fixes https://gitlab.com/kicad/code/kicad/issues/10481
(cherry picked from commit 8c758aeeb5
)
This commit is contained in:
parent
01f3a14dc3
commit
b883eee911
|
@ -1347,7 +1347,7 @@ FP_ZONE::FP_ZONE( BOARD_ITEM_CONTAINER* aParent ) :
|
||||||
|
|
||||||
|
|
||||||
FP_ZONE::FP_ZONE( const FP_ZONE& aZone ) :
|
FP_ZONE::FP_ZONE( const FP_ZONE& aZone ) :
|
||||||
ZONE( aZone.GetParent(), true )
|
ZONE( aZone )
|
||||||
{
|
{
|
||||||
InitDataFromSrcInCopyCtor( aZone );
|
InitDataFromSrcInCopyCtor( aZone );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue