Changeset 9345 for trunk/MagicSoft/Mars/mbase/MParList.cc
- Timestamp:
- 02/16/09 10:19:21 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MParList.cc
r9268 r9345 245 245 // -------------------------------------------------------------------------- 246 246 // 247 // Add all entries of the TObjArray to the list. 247 // Add all entries which derive from MParContainer 248 // of the TObjArray to the list. 248 249 // 249 250 void MParList::AddToList(TObjArray *list) … … 255 256 return; 256 257 257 MIter Next(list);258 259 MParContainer*cont = NULL;258 TIter Next(list); 259 260 TObject *cont = NULL; 260 261 while ((cont=Next())) 261 262 { 263 if (!dynamic_cast<MParContainer*>(cont)) 264 continue; 265 262 266 cont->SetBit(kMustCleanup); 263 267 AddToList(cont);
Note:
See TracChangeset
for help on using the changeset viewer.