Fix missing member variable in swap().

Fixes https://gitlab.com/kicad/code/kicad/issues/9470
This commit is contained in:
Jeff Young 2021-10-27 21:56:32 +01:00
parent b7ab5330bf
commit e9661161d2
1 changed files with 1 additions and 0 deletions

View File

@ -203,6 +203,7 @@ void PCB_SHAPE::SwapData( BOARD_ITEM* aImage )
SwapShape( image );
std::swap( m_layer, image->m_layer );
std::swap( m_fill, image->m_fill );
std::swap( m_flags, image->m_flags );
std::swap( m_status, image->m_status );
std::swap( m_parent, image->m_parent );