Reverse the order in which IoComponentMgr io_finalizes components
1 unresolved thread
It's necessary to reverse the order, so components that depend on other components are finalized first, when the other ones are still active
Merge request reports
Activity
Filter activity
457 457 } 458 458 459 459 bool allgood = true; 460 for ( IoStack_t::iterator io = m_iostack.begin(), ioEnd = m_iostack.end(); 461 io != ioEnd; 462 ++io ) { 460 // reverse iteration to unwind component dependencies 461 for( IoStack_t::iterator io = m_iostack.end(); io-- != m_iostack.begin(); ) { why not use a reverse iterator as @tsulaia suggested?
Somehow I got a very old base for my branch and it would just not work. I rebased to v27r1 now, but could not push into this branch afterwards, so opening a new MR !155 (merged) and closing this one
Please register or sign in to reply