77 auto oldBoard = std::make_unique<INSTRUMENTED_BOARD>( &dtorCount );
79 BOARD* oldBoardRaw = oldBoard.get();
81 std::vector<std::unique_ptr<FOOTPRINT_EDITOR_TAB_CONTEXT>> contexts;
82 contexts.push_back( std::make_unique<FOOTPRINT_EDITOR_TAB_CONTEXT>( wxS(
"Lib" ), wxS(
"A" ),
83 std::move( oldBoard ) ) );
85 auto newCtx = std::make_unique<FOOTPRINT_EDITOR_TAB_CONTEXT>(
86 wxS(
"Lib" ), wxS(
"B" ),
makeFpHolder( wxS(
"Lib" ), wxS(
"B" ) ) );
89 int dtorCountDuringInstall = -1;
90 BOARD* protectedBoardDuringInstall =
nullptr;
93 contexts, 0, std::move( newCtx ),
96 dtorCountDuringInstall = dtorCount;
97 protectedBoardDuringInstall = aDisplaced.
GetBoard();