Moving modules from DLIST to std::deque

This commit is contained in:
Seth Hillbrand
2019-06-01 09:53:23 -07:00
parent 961b22d603
commit d1877d7c1b
58 changed files with 292 additions and 274 deletions
+2 -2
View File
@@ -129,10 +129,10 @@ void BOARD_COMMIT::Push( const wxString& aMessage, bool aCreateUndoEntry, bool a
// modules inside modules are not supported yet
wxASSERT( boardItem->Type() != PCB_MODULE_T );
boardItem->SetParent( board->m_Modules.GetFirst() );
boardItem->SetParent( board->Modules().front() );
if( !( changeFlags & CHT_DONE ) )
board->m_Modules->Add( boardItem );
board->Modules().front()->Add( boardItem );
}
view->Add( boardItem );