Fix shadowed variable.
This commit is contained in:
parent
b4701593fb
commit
16d5c43c14
|
@ -477,7 +477,7 @@ void PCB_BASE_EDIT_FRAME::PutDataInPreviousState( PICKED_ITEMS_LIST* aList )
|
||||||
|
|
||||||
if( item->Type() == PCB_GROUP_T )
|
if( item->Type() == PCB_GROUP_T )
|
||||||
{
|
{
|
||||||
PCB_GROUP* group = static_cast<PCB_GROUP*>( item );
|
group = static_cast<PCB_GROUP*>( item );
|
||||||
|
|
||||||
group->RunOnChildren( [&]( BOARD_ITEM* child )
|
group->RunOnChildren( [&]( BOARD_ITEM* child )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue